Browse Source

Merge #332: JoinMarket-Qt: Don't ask for wallet password if "Cancel" pressed in "Load" dialog

9e2db3c Don't ask for wallet password if "Cancel" pressed in "Load" dialog (Kristaps Kaupe)
master
AdamISZ 7 years ago
parent
commit
d845ebe070
No known key found for this signature in database
GPG Key ID: 141001A1AF77F20B
  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