Browse Source

call set_layout before adding buttons, so that setDefault works

283
ThomasV 10 years ago
parent
commit
8f94039355
  1. 2
      gui/qt/installwizard.py

2
gui/qt/installwizard.py

@ -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…
Cancel
Save