Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb840eef

Browse files
camera_app: leave QR result on screen if found
1 parent7bce504 commitb840eef

File tree

1 file changed

+1
-1
lines changed
  • internal_filesystem/apps/com.micropythonos.camera/assets

1 file changed

+1
-1
lines changed

‎internal_filesystem/apps/com.micropythonos.camera/assets/camera_app.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ def qrdecode_one(self):
162162
ifnotresult:
163163
self.status_label.set_text(self.status_label_text_searching)
164164
else:
165-
self.stop_qr_decoding()
166165
result=remove_bom(result)
167166
result=print_qr_buffer(result)
168167
print(f"QR decoding found:{result}")
@@ -171,6 +170,7 @@ def qrdecode_one(self):
171170
self.finish()
172171
else:
173172
self.status_label.set_text(result)# in the future, the status_label text should be copy-paste-able
173+
self.stop_qr_decoding()
174174
exceptValueErrorase:
175175
print("QR ValueError: ",e)
176176
self.status_label.set_text(self.status_label_text_searching)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp