mirror of
https://github.com/JoinMarket-Org/joinmarket-clientserver.git
synced 2026-08-18 13:17:51 +02:00
Don't ask for wallet password if "Cancel" pressed in "Load" dialog
This commit is contained in:
parent
c33d43dcd3
commit
9e2db3cc07
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue