From 4709af146b01316aeddbb165b180bca9f26c1ee0 Mon Sep 17 00:00:00 2001 From: Jan Pochyla Date: Mon, 18 Feb 2019 11:33:12 +0100 Subject: [PATCH] ui: fix content invalidation in HoldToConfirmDialog --- src/trezor/ui/confirm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/trezor/ui/confirm.py b/src/trezor/ui/confirm.py index 475a85fe7..32289df7d 100644 --- a/src/trezor/ui/confirm.py +++ b/src/trezor/ui/confirm.py @@ -91,7 +91,6 @@ class HoldToConfirmDialog(Widget): self.loader.start() return _STARTED if was_active and not is_active: - self.content.taint() if self.loader.stop(): return CONFIRMED else: @@ -108,6 +107,7 @@ class HoldToConfirmDialog(Widget): else: result = await loop.spawn(self.loader, super().__iter__()) else: + self.content.taint() if __debug__: result = await loop.spawn(super().__iter__(), confirm_signal) else: