--- a/src/eric7/Plugins/VcsPlugins/vcsGit/GitApplyBundleDataDialog.py Wed Jul 13 11:16:20 2022 +0200 +++ b/src/eric7/Plugins/VcsPlugins/vcsGit/GitApplyBundleDataDialog.py Wed Jul 13 14:55:47 2022 +0200 @@ -16,10 +16,11 @@ """ Class implementing a dialog to enter the data for applying a bundle. """ + def __init__(self, bundleHeads, branches, parent=None): """ Constructor - + @param bundleHeads list of heads contained in a bundle (list of strings) @param branches list of available branch names (list of strings) @@ -27,14 +28,14 @@ """ super().__init__(parent) self.setupUi(self) - + self.headCombo.addItems(sorted(bundleHeads)) self.branchCombo.addItems([""] + sorted(branches)) - + def getData(self): """ Public method to get the entered data. - + @return tuple with the bundle head (string) and the local branch name (string) """