From b840eef717014e4b13f25dba4e0b4ffaf622e8aa Mon Sep 17 00:00:00 2001 From: Thomas Farstrike Date: Mon, 16 Jun 2025 14:09:57 +0200 Subject: [PATCH] camera_app: leave QR result on screen if found --- .../apps/com.micropythonos.camera/assets/camera_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal_filesystem/apps/com.micropythonos.camera/assets/camera_app.py b/internal_filesystem/apps/com.micropythonos.camera/assets/camera_app.py index c0e4ff9e..4e8be902 100644 --- a/internal_filesystem/apps/com.micropythonos.camera/assets/camera_app.py +++ b/internal_filesystem/apps/com.micropythonos.camera/assets/camera_app.py @@ -162,7 +162,6 @@ class CameraApp(Activity): if not result: self.status_label.set_text(self.status_label_text_searching) else: - self.stop_qr_decoding() result = remove_bom(result) result = print_qr_buffer(result) print(f"QR decoding found: {result}") @@ -171,6 +170,7 @@ class CameraApp(Activity): self.finish() else: self.status_label.set_text(result) # in the future, the status_label text should be copy-paste-able + self.stop_qr_decoding() except ValueError as e: print("QR ValueError: ", e) self.status_label.set_text(self.status_label_text_searching)