eric6/Plugins/VcsPlugins/vcsGit/GitBisectStartDialog.py

branch
maintenance
changeset 8176
31965986ecd1
parent 8143
2c730d5fd177
child 8218
7c09585bd960
equal deleted inserted replaced
8153:e01ae92db699 8176:31965986ecd1
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