Added a forgotten method to EricPathPickerBase. eric7

Wed, 13 Apr 2022 18:16:23 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 13 Apr 2022 18:16:23 +0200
branch
eric7
changeset 9024
640778fcd474
parent 9023
5c6e160faa32
child 9025
9fe8cfa14542

Added a forgotten method to EricPathPickerBase.

eric7/EricWidgets/EricPathPicker.py file | annotate | diff | comparison | revisions
--- a/eric7/EricWidgets/EricPathPicker.py	Wed Apr 13 15:13:59 2022 +0200
+++ b/eric7/EricWidgets/EricPathPicker.py	Wed Apr 13 18:16:23 2022 +0200
@@ -684,6 +684,15 @@
         """
         self._editor.setCurrentIndex(index)
     
+    def setCurrentText(self, text):
+        """
+        Public slot to set the current text.
+        
+        @param text text of the item to set current
+        @type str
+        """
+        self._editor.setCurrentText(text)
+    
     def setInsertPolicy(self, policy):
         """
         Public method to set the insertion policy of the combo box.

eric ide

mercurial