tInstallwizard: handle Escape key - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 1f75ab89fa64f593b70beb19f90bfd09eddfb15e DIR parent 3ca007430100493ea698658d3988b1e29bb71be0 HTML Author: Neil Booth <kyuupichan@gmail.com> Date: Fri, 22 Jan 2016 21:36:10 +0900 Installwizard: handle Escape key Diffstat: M gui/qt/installwizard.py | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) --- DIR diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py t@@ -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)