tEmbed generating addresses text - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 576500aa2920ac657ae04723472178b213360ce2 DIR parent f94d2db9a443f61057af3bdb2fbc9950e3237754 HTML Author: Neil Booth <kyuupichan@gmail.com> Date: Tue, 12 Jan 2016 23:36:25 +0900 Embed generating addresses text Diffstat: M gui/qt/installwizard.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) --- DIR diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py t@@ -132,6 +132,9 @@ class InstallWizard(WindowModalDialog, WizardBase): self.next_button.setEnabled(False) self.main_widget.setVisible(False) self.please_wait.setVisible(True) + self.refresh_gui() + + def refresh_gui(self): # For some reason, to refresh the GUI this needs to be called twice self.app.processEvents() self.app.processEvents() t@@ -228,12 +231,8 @@ class InstallWizard(WindowModalDialog, WizardBase): self.emit(QtCore.SIGNAL('accept')) t = threading.Thread(target = task) t.start() - vbox = QVBoxLayout() - self.waiting_label = QLabel(MSG_GENERATING_WAIT) - vbox.addWidget(self.waiting_label) - self.set_layout(vbox) - self.raise_() - self.exec_() + self.please_wait.setText(MSG_GENERATING_WAIT) + self.refresh_gui() def set_layout(self, layout): w = QWidget()