electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 91deb307714c09969da5d53a21fe3894c0f19119
parent ca88371a2b402bf2cfff3f34914da7cd82a9f9ba
Author: Amir Taaki <genjix@riseup.net>
Date:   Sat,  7 Jul 2012 18:58:29 +0100

CTRL+Q / CTRL+W close window shortcuts.

Diffstat:
Mlib/gui_lite.py | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/lib/gui_lite.py b/lib/gui_lite.py @@ -190,6 +190,11 @@ class MiniWindow(QDialog): main_layout.addLayout(amount_layout, 2, 1) main_layout.addWidget(send_button, 2, 2) + quit_shortcut = QShortcut(QKeySequence("Ctrl+Q"), self) + self.connect(quit_shortcut, SIGNAL("activated()"), self.close) + close_shortcut = QShortcut(QKeySequence("Ctrl+W"), self) + self.connect(close_shortcut, SIGNAL("activated()"), self.close) + self.setWindowTitle("Electrum") self.setWindowFlags(Qt.Window|Qt.MSWindowsFixedSizeDialogHint) self.layout().setSizeConstraint(QLayout.SetFixedSize)