electrum

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

commit 1f75ab89fa64f593b70beb19f90bfd09eddfb15e
parent 3ca007430100493ea698658d3988b1e29bb71be0
Author: Neil Booth <kyuupichan@gmail.com>
Date:   Fri, 22 Jan 2016 21:36:10 +0900

Installwizard: handle Escape key

Diffstat:
Mgui/qt/installwizard.py | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py @@ -87,6 +87,7 @@ class InstallWizard(WindowModalDialog, WizardBase): self.please_wait.setAlignment(Qt.AlignCenter) self.icon_filename = None self.loop = QEventLoop() + self.rejected.connect(lambda: self.loop.exit(False)) self.cancel_button.clicked.connect(lambda: self.loop.exit(False)) self.next_button.clicked.connect(lambda: self.loop.exit(True)) outer_vbox = QVBoxLayout(self)