trecently visited wallets: increase shortcut index - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 4b9a1499879d537fdca9c124529ed9c68abf4f45
DIR parent c3991091def722d18e05675d14a6e7edd7f57e48
HTML 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(-)
---
DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
t@@ -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):