--- a/src/eric7/Plugins/VcsPlugins/vcsGit/GitStashDataDialog.py Wed Jul 13 11:16:20 2022 +0200 +++ b/src/eric7/Plugins/VcsPlugins/vcsGit/GitStashDataDialog.py Wed Jul 13 14:55:47 2022 +0200 @@ -16,26 +16,27 @@ """ Class implementing a dialog to enter the data for a stash operation. """ + NoUntracked = 0 UntrackedOnly = 1 UntrackedAndIgnored = 2 - + def __init__(self, parent=None): """ Constructor - + @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 get the user data. - + @return tuple containing the message (string), a flag indicating to keep changes in the staging area (boolean) and an indication to stash untracked and/or ignored files (integer) @@ -46,6 +47,5 @@ untracked = self.UntrackedOnly else: untracked = self.UntrackedAndIgnored - - return (self.messageEdit.text(), self.keepCheckBox.isChecked(), - untracked) + + return (self.messageEdit.text(), self.keepCheckBox.isChecked(), untracked)