commit cc130f2930ee3378c03f8c188d5a6040d506d71a
parent f22c55f426e84da96927c7cae8926d5d8afb30a6
Author: thomasv <thomasv@gitorious>
Date: Fri, 13 Sep 2013 14:42:30 +0200
remove .dat filter
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gui/gui_classic/main_window.py b/gui/gui_classic/main_window.py
@@ -266,7 +266,7 @@ class ElectrumWindow(QMainWindow):
def select_wallet_file(self):
wallet_folder = self.wallet.storage.path
re.sub("(\/\w*.dat)$", "", wallet_folder)
- file_name = unicode( QFileDialog.getOpenFileName(self, "Select your wallet file", wallet_folder, "*.dat") )
+ file_name = unicode( QFileDialog.getOpenFileName(self, "Select your wallet file", wallet_folder) )
return file_name
@@ -295,7 +295,7 @@ class ElectrumWindow(QMainWindow):
wallet_folder = self.wallet.storage.path
re.sub("(\/\w*.dat)$", "", wallet_folder)
- filename = self.getSaveFileName("Select your wallet file", wallet_folder, "*.dat")
+ filename = self.getSaveFileName("Select your wallet file", wallet_folder)
storage = WalletStorage({'wallet_path': filename})
assert not storage.file_exists