call set_layout before adding buttons, so that setDefault works
This commit is contained in:
parent
f82de35bd2
commit
8f94039355
|
@ -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_()
|
||||
|
||||
|
|
Loading…
Reference in New Issue