diff -r e9e7eca7efee -r bf71ee032bb4 src/eric7/Plugins/VcsPlugins/vcsSubversion/SvnSwitchDialog.py --- a/src/eric7/Plugins/VcsPlugins/vcsSubversion/SvnSwitchDialog.py Wed Jul 13 11:16:20 2022 +0200 +++ b/src/eric7/Plugins/VcsPlugins/vcsSubversion/SvnSwitchDialog.py Wed Jul 13 14:55:47 2022 +0200 @@ -16,10 +16,11 @@ """ Class implementing a dialog to enter the data for a switch operation. """ + def __init__(self, taglist, reposURL, standardLayout, parent=None): """ Constructor - + @param taglist list of previously entered tags (list of strings) @param reposURL repository path (string) or None @param standardLayout flag indicating the layout of the @@ -28,23 +29,23 @@ """ super().__init__(parent) self.setupUi(self) - + self.tagCombo.clear() self.tagCombo.addItems(sorted(taglist)) - + if reposURL is not None and reposURL != "": self.tagCombo.setEditText(reposURL) - + if not standardLayout: self.TagTypeGroup.setEnabled(False) - + msh = self.minimumSizeHint() self.resize(max(self.width(), msh.width()), msh.height()) - + def getParameters(self): """ Public method to retrieve the tag data. - + @return tuple of string and int (tag, tag type) """ tag = self.tagCombo.currentText()