eric6/Plugins/VcsPlugins/vcsGit/GitBisectStartDialog.py

changeset 8143
2c730d5fd177
parent 7923
91e843545d9a
child 8218
7c09585bd960
equal deleted inserted replaced
8141:27f636beebad 8143:2c730d5fd177
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

eric ide

mercurial