Force OK button to be default
Until we work out the right way to use the stacked dialogs.
This commit is contained in:
parent
43fd684d97
commit
1ffc14df76
|
@ -193,8 +193,10 @@ class InstallWizard(WindowModalDialog, WizardBase):
|
|||
button.setChecked(True)
|
||||
|
||||
vbox.addStretch(1)
|
||||
vbox.addLayout(Buttons(CancelButton(self), OkButton(self, _('Next'))))
|
||||
OK = OkButton(self, _('Next'))
|
||||
vbox.addLayout(Buttons(CancelButton(self), OK))
|
||||
self.set_layout(vbox)
|
||||
OK.setDefault(True)
|
||||
self.raise_()
|
||||
|
||||
if not self.exec_():
|
||||
|
|
Loading…
Reference in New Issue