mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-03 02:35:20 +00:00
qt installwizard: fix empty filename crash
Traceback (most recent call last): File "...\electrum\electrum\gui\qt\installwizard.py", line 256, in on_filename widget_create_new.setVisible(temp_storage and temp_storage.file_exists()) TypeError: setVisible(self, bool): argument 1 has unexpected type 'NoneType'
This commit is contained in:
parent
d2f132738a
commit
1059191ebc
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ class InstallWizard(QDialog, MessageBoxMixin, BaseWizard):
|
|||
if msg is None:
|
||||
msg = _('Cannot read file')
|
||||
self.msg_label.setText(msg)
|
||||
widget_create_new.setVisible(temp_storage and temp_storage.file_exists())
|
||||
widget_create_new.setVisible(bool(temp_storage and temp_storage.file_exists()))
|
||||
if user_needs_to_enter_password:
|
||||
self.pw_label.show()
|
||||
self.pw_e.show()
|
||||
|
|
Loading…
Add table
Reference in a new issue