From 4b9a1499879d537fdca9c124529ed9c68abf4f45 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sun, 9 Aug 2015 13:17:04 +0200 Subject: [PATCH] recently visited wallets: increase shortcut index --- gui/qt/main_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py index df85a19d5..cfc355c4a 100644 --- a/gui/qt/main_window.py +++ b/gui/qt/main_window.py @@ -386,7 +386,7 @@ class ElectrumWindow(QMainWindow): b = os.path.basename(k) def loader(k): return lambda: self.load_wallet_file(k) - self.recently_visited_menu.addAction(b, loader(k)).setShortcut(QKeySequence("Ctrl+%d"%i)) + self.recently_visited_menu.addAction(b, loader(k)).setShortcut(QKeySequence("Ctrl+%d"%(i+1))) self.recently_visited_menu.setEnabled(len(recent)) def init_menubar(self):