From dd540a2ccd65eec2ba0bd4e869f097e992bcaafc Mon Sep 17 00:00:00 2001 From: Andrew Kozlik Date: Tue, 11 Aug 2020 16:42:11 +0200 Subject: [PATCH] core/ui: Initialize Qr class properly. --- core/src/trezor/ui/qr.py | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/trezor/ui/qr.py b/core/src/trezor/ui/qr.py index 5f5e31c5e9..cfa23a7b36 100644 --- a/core/src/trezor/ui/qr.py +++ b/core/src/trezor/ui/qr.py @@ -7,6 +7,7 @@ class Qr(ui.Component): self.x = x self.y = y self.scale = scale + self.repaint = True def on_render(self) -> None: if self.repaint: