mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 01:11:35 +00:00
fix: crash when closing qrscanner window (see #3546)
This commit is contained in:
parent
3851e78454
commit
f231349673
1 changed files with 2 additions and 0 deletions
|
@ -56,6 +56,8 @@ class ScanQRTextEdit(ButtonsTextEdit, MessageBoxMixin):
|
|||
except BaseException as e:
|
||||
self.show_error(str(e))
|
||||
data = ''
|
||||
if not data:
|
||||
data = ''
|
||||
self.setText(data)
|
||||
return data
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue