eric6/Plugins/VcsPlugins/vcsSubversion/SvnNewProjectOptionsDialog.py

changeset 8151
8c1445825e7b
parent 8143
2c730d5fd177
child 8218
7c09585bd960
diff -r fc1ae39af8c9 -r 8c1445825e7b eric6/Plugins/VcsPlugins/vcsSubversion/SvnNewProjectOptionsDialog.py
--- a/eric6/Plugins/VcsPlugins/vcsSubversion/SvnNewProjectOptionsDialog.py	Thu Mar 04 17:44:41 2021 +0100
+++ b/eric6/Plugins/VcsPlugins/vcsSubversion/SvnNewProjectOptionsDialog.py	Thu Mar 04 17:48:09 2021 +0100
@@ -109,13 +109,15 @@
         if not checked:
             self.vcsTagEdit.clear()
         
-    @pyqtSlot(str)
-    def on_protocolCombo_activated(self, protocol):
+    @pyqtSlot(int)
+    def on_protocolCombo_activated(self, index):
         """
         Private slot to switch the status of the directory selection button.
         
-        @param protocol selected protocol (string)
+        @param index index of the selected entry
+        @type int
         """
+        protocol = self.protocolCombo.itemText(index)
         if protocol == "file://":
             self.networkPath = self.vcsUrlPicker.text()
             self.vcsUrlPicker.setText(self.localPath)

eric ide

mercurial