Browse Source

Open wallet should use current wallets folder as default dir

283
Maran 12 years ago
parent
commit
f55faedeb0
  1. 4
      gui/gui_classic.py

4
gui/gui_classic.py

@ -312,7 +312,9 @@ class ElectrumWindow(QMainWindow):
def select_wallet_file(self):
file_name = self.getOpenFileName(self, "Select your wallet file", os.path.expanduser('~/'), "*.dat")
wallet_folder = self.wallet.config.path
re.sub("(\/\w*.dat)$", "", wallet_folder)
file_name = QFileDialog.getOpenFileName(self, "Select your wallet file", wallet_folder, "*.dat")
if not file_name:
return
else:

Loading…
Cancel
Save