From 8f940393553b719036cef990f65bb2c6a6ed34f2 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 17 Apr 2015 13:13:35 +0200 Subject: [PATCH] call set_layout before adding buttons, so that setDefault works --- gui/qt/installwizard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py index 10be56bc0..35b9bd9d9 100644 --- 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_()