Wed, 13 Apr 2022 18:16:23 +0200
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.