wizard: set next button default

This commit is contained in:
ThomasV 2014-06-13 13:48:36 +02:00
parent 6cad213fa8
commit 5f8c04cd56
1 changed files with 3 additions and 3 deletions

View 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