--- a/src/eric7/Plugins/VcsPlugins/vcsGit/GitSubmodulesSyncDialog.py Wed Jul 13 11:16:20 2022 +0200 +++ b/src/eric7/Plugins/VcsPlugins/vcsGit/GitSubmodulesSyncDialog.py Wed Jul 13 14:55:47 2022 +0200 @@ -16,10 +16,11 @@ """ Class implementing a dialog to enter submodule synchronization options. """ + def __init__(self, submodulePaths, parent=None): """ Constructor - + @param submodulePaths list of submodule paths @type list of str @param parent reference to the parent widget @@ -27,13 +28,13 @@ """ super().__init__(parent) self.setupUi(self) - + self.submodulesList.addItems(sorted(submodulePaths)) - + def getData(self): """ Public method to get the entered data. - + @return tuple containing a list of selected submodules and a flag indicating a recursive operation @rtype tuple of (list of str, bool) @@ -41,5 +42,5 @@ submodulePaths = [] for itm in self.submodulesList.selectedItems(): submodulePaths.append(itm.text()) - + return submodulePaths, self.recursiveCheckBox.isChecked()