--- a/eric6/Plugins/VcsPlugins/vcsSubversion/SvnUrlSelectionDialog.py Mon Mar 01 17:48:43 2021 +0100 +++ b/eric6/Plugins/VcsPlugins/vcsSubversion/SvnUrlSelectionDialog.py Tue Mar 02 17:17:09 2021 +0100 @@ -121,22 +121,26 @@ labelCombo.addItems(sorted(self.branchesList)) labelCombo.setEnabled(True) - @pyqtSlot(str) - def on_typeCombo1_currentIndexChanged(self, type_): + @pyqtSlot(int) + def on_typeCombo1_currentIndexChanged(self, index): """ Private slot called when the selected type was changed. - @param type_ selected type (string) + @param index index of the current item + @type int """ + type_ = self.typeCombo1.itemText(index) self.__changeLabelCombo(self.labelCombo1, type_) - @pyqtSlot(str) - def on_typeCombo2_currentIndexChanged(self, type_): + @pyqtSlot(int) + def on_typeCombo2_currentIndexChanged(self, index): """ Private slot called when the selected type was changed. - @param type_ selected type (string) + @param index index of the current item + @type int """ + type_ = self.typeCombo2.itemText(index) self.__changeLabelCombo(self.labelCombo2, type_) def getURLs(self):