24 @param parent reference to the parent widget (QWidget) |
24 @param parent reference to the parent widget (QWidget) |
25 """ |
25 """ |
26 super(GitBisectStartDialog, self).__init__(parent) |
26 super(GitBisectStartDialog, self).__init__(parent) |
27 self.setupUi(self) |
27 self.setupUi(self) |
28 |
28 |
29 self.okButton = self.buttonBox.button(QDialogButtonBox.Ok) |
29 self.okButton = self.buttonBox.button( |
|
30 QDialogButtonBox.StandardButton.Ok) |
30 self.okButton.setEnabled(False) |
31 self.okButton.setEnabled(False) |
31 |
32 |
32 msh = self.minimumSizeHint() |
33 msh = self.minimumSizeHint() |
33 self.resize(max(self.width(), msh.width()), msh.height()) |
34 self.resize(max(self.width(), msh.width()), msh.height()) |
34 |
35 |