call set_layout before adding buttons, so that setDefault works

This commit is contained in:
ThomasV 2015-04-17 13:13:35 +02:00
parent f82de35bd2
commit 8f94039355
1 changed files with 1 additions and 1 deletions

View File

@ -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_()