diff -r e9e7eca7efee -r bf71ee032bb4 src/eric7/Plugins/VcsPlugins/vcsGit/GitBisectStartDialog.py --- a/src/eric7/Plugins/VcsPlugins/vcsGit/GitBisectStartDialog.py Wed Jul 13 11:16:20 2022 +0200 +++ b/src/eric7/Plugins/VcsPlugins/vcsGit/GitBisectStartDialog.py Wed Jul 13 14:55:47 2022 +0200 @@ -17,42 +17,42 @@ """ Class implementing a dialog to enter the data for an extended bisect start. """ + def __init__(self, parent=None): """ Constructor - + @param parent reference to the parent widget (QWidget) """ super().__init__(parent) self.setupUi(self) - - self.okButton = self.buttonBox.button( - QDialogButtonBox.StandardButton.Ok) + + self.okButton = self.buttonBox.button(QDialogButtonBox.StandardButton.Ok) self.okButton.setEnabled(False) - + msh = self.minimumSizeHint() self.resize(max(self.width(), msh.width()), msh.height()) - + def __updateOK(self): """ Private method used to enable/disable the OK-button. """ enable = self.badEdit.text() != "" self.okButton.setEnabled(enable) - + @pyqtSlot(str) def on_badEdit_textChanged(self, txt): """ Private slot to handle a change of the bad commit. - + @param txt bad commit entered (string) """ self.__updateOK() - + def getData(self): """ Public method to get the entered data. - + @return tuple containing a bad commit (string), a list of good commits (list of strings) and a flag indicating to not checkout the working tree (boolean)