commit 8f940393553b719036cef990f65bb2c6a6ed34f2
parent f82de35bd203e35316f6f245bf2f0cc0f9e0821d
Author: ThomasV <thomasv@gitorious>
Date: Fri, 17 Apr 2015 13:13:35 +0200
call set_layout before adding buttons, so that setDefault works
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py
@@ -89,8 +89,8 @@ class InstallWizard(QDialog):
button.setChecked(True)
vbox.addStretch(1)
- vbox.addLayout(Buttons(CancelButton(self), OkButton(self, _('Next'))))
self.set_layout(vbox)
+ vbox.addLayout(Buttons(CancelButton(self), OkButton(self, _('Next'))))
self.show()
self.raise_()