tadd layout before creating buttons, so that default button is set - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit f4817d771f13d25dbb28b2a8bd7dfe54b5420aaf DIR parent 7dd78e37688a4d510010d55e98d8d09961857da4 HTML Author: ThomasV <thomasv@gitorious> Date: Mon, 28 Apr 2014 15:50:31 +0200 add layout before creating buttons, so that default button is set Diffstat: M gui/qt/installwizard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py t@@ -207,8 +207,8 @@ class InstallWizard(QDialog): vbox = QVBoxLayout() vbox.addWidget(QLabel(msg)) vbox.addStretch(1) - vbox.addLayout(ok_cancel_buttons(self, _('OK'))) self.set_layout(vbox) + vbox.addLayout(ok_cancel_buttons(self, _('OK'))) if not self.exec_(): return None return True