Browse Source

dont use native filedialog (prevents Qt crash condition)

master
Adam Gibson 8 years ago
parent
commit
36fdf26faf
No known key found for this signature in database
GPG Key ID: B3AE09F1E9A3197A
  1. 3
      scripts/joinmarket-qt.py

3
scripts/joinmarket-qt.py

@ -1326,7 +1326,8 @@ class JMMainWindow(QMainWindow):
current_path = os.path.join(current_path, 'wallets')
firstarg = QFileDialog.getOpenFileName(self,
'Choose Wallet File',
directory=current_path)
directory=current_path,
options=QFileDialog.DontUseNativeDialog)
#TODO validate the file looks vaguely like a wallet file
log.debug('Looking for wallet in: ' + firstarg)
if not firstarg:

Loading…
Cancel
Save