eric6/Plugins/VcsPlugins/vcsPySvn/SvnCommitDialog.py

changeset 8151
8c1445825e7b
parent 8143
2c730d5fd177
child 8218
7c09585bd960
diff -r fc1ae39af8c9 -r 8c1445825e7b eric6/Plugins/VcsPlugins/vcsPySvn/SvnCommitDialog.py
--- a/eric6/Plugins/VcsPlugins/vcsPySvn/SvnCommitDialog.py	Thu Mar 04 17:44:41 2021 +0100
+++ b/eric6/Plugins/VcsPlugins/vcsPySvn/SvnCommitDialog.py	Thu Mar 04 17:48:09 2021 +0100
@@ -127,12 +127,14 @@
         self.close()
         self.rejected.emit()
     
-    @pyqtSlot(str)
-    def on_recentComboBox_activated(self, txt):
+    @pyqtSlot(int)
+    def on_recentComboBox_activated(self, index):
         """
         Private slot to select a commit message from recent ones.
         
-        @param txt selected recent commit message (string)
+        @param index index of the selected entry
+        @type int
         """
+        txt = self.recentComboBox.itemText(index)
         if txt:
             self.logEdit.setPlainText(txt)

eric ide

mercurial