tMove set_layout call - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 9aae66a9d267d806160b47897af54062a1a9fd63 DIR parent 9eaf510ac6c2924a8e2c5719d33a5543c970416f HTML Author: Neil Booth <kyuupichan@gmail.com> Date: Sun, 3 Jan 2016 09:32:41 +0900 Move set_layout call This code is identical to before, but for some reason the positioning of this affects whether Next is the default action or not! And it didn't have that effect with the old install wizard. Odd. 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@@ -192,9 +192,9 @@ class InstallWizard(WindowModalDialog, MessageBoxMixin, WizardBase): if i==0: button.setChecked(True) + self.set_layout(vbox) vbox.addStretch(1) vbox.addLayout(Buttons(CancelButton(self), OkButton(self, _('Next')))) - self.set_layout(vbox) self.show() self.raise_()