From 5f8c04cd565fd693ac19a5b6024589a080d6e4bf Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 13 Jun 2014 13:48:36 +0200 Subject: [PATCH] wizard: set next button default --- gui/qt/installwizard.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py index 785fa1f5..a99cf71b 100644 --- a/gui/qt/installwizard.py +++ b/gui/qt/installwizard.py @@ -132,12 +132,12 @@ class InstallWizard(QDialog): vbox.addLayout(grid2) vbox.addStretch(1) - vbox.addLayout(ok_cancel_buttons(self, _('Next'))) - + hbox, button = ok_cancel_buttons2(self, _('Next')) + vbox.addLayout(hbox) self.set_layout(vbox) - self.show() self.raise_() + button.setDefault(True) if not self.exec_(): return None, None