--- a/src/eric7/Plugins/VcsPlugins/vcsGit/GitUserConfigDataDialog.py Wed Jul 13 11:16:20 2022 +0200 +++ b/src/eric7/Plugins/VcsPlugins/vcsGit/GitUserConfigDataDialog.py Wed Jul 13 14:55:47 2022 +0200 @@ -16,23 +16,24 @@ """ Class implementing a dialog to enter some user data. """ + def __init__(self, version=(0, 0), parent=None): """ Constructor - + @param version Git version info (tuple of two integers) @param parent reference to the parent widget (QWidget) """ super().__init__(parent) self.setupUi(self) - + msh = self.minimumSizeHint() self.resize(max(self.width(), msh.width()), msh.height()) - + def getData(self): """ Public method to retrieve the entered data. - + @return tuple with user's first name, last name and email address (tuple of three strings) """