Browse Source

Don't ask for wallet password if "Cancel" pressed in "Load" dialog

master
Kristaps Kaupe 7 years ago
parent
commit
9e2db3cc07
  1. 2
      scripts/joinmarket-qt.py

2
scripts/joinmarket-qt.py

@ -1357,7 +1357,7 @@ class JMMainWindow(QMainWindow):
options=QFileDialog.DontUseNativeDialog)
#TODO validate the file looks vaguely like a wallet file
log.debug('Looking for wallet in: ' + str(firstarg))
if not firstarg:
if not firstarg or not firstarg[0]:
return
decrypted = False
while not decrypted:

Loading…
Cancel
Save