wizard: set next button default
authorThomasV <thomasv@gitorious>
Fri, 13 Jun 2014 11:48:36 +0000 (13:48 +0200)
committerThomasV <thomasv@gitorious>
Fri, 13 Jun 2014 11:48:36 +0000 (13:48 +0200)
gui/qt/installwizard.py

index 785fa1f..a99cf71 100644 (file)
@@ -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