commit 280b5c79d2268a89fccb7740904e5a59948ea887
parent cdc698a28e877d3f478b48d68f20182a8ea1b602
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 2 Sep 2015 12:11:52 +0200
minor fix
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
@@ -305,7 +305,7 @@ class ElectrumWindow(QMainWindow):
filename = unicode(QFileDialog.getOpenFileName(self, "Select your wallet file", wallet_folder))
if not filename:
return
- self.gui_object.load_wallet_file(filename)
+ self.gui_object.new_window(filename)
def backup_wallet(self):
@@ -337,7 +337,7 @@ class ElectrumWindow(QMainWindow):
for i, k in enumerate(sorted(recent)):
b = os.path.basename(k)
def loader(k):
- return lambda: self.gui_object.load_wallet_file(k)
+ return lambda: self.gui_object.new_window(k)
self.recently_visited_menu.addAction(b, loader(k)).setShortcut(QKeySequence("Ctrl+%d"%(i+1)))
self.recently_visited_menu.setEnabled(len(recent))