commit 4b9a1499879d537fdca9c124529ed9c68abf4f45 parent c3991091def722d18e05675d14a6e7edd7f57e48 Author: ThomasV <thomasv@gitorious> Date: Sun, 9 Aug 2015 13:17:04 +0200 recently visited wallets: increase shortcut index Diffstat:
M | 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 @@ -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):