E5Gui/E5PathPicker.py

changeset 5525
1771a7f9065c
parent 5389
9b1c800daff3
child 5674
a0ad2dcb27f9
equal deleted inserted replaced
5524:b96b6e7cd8a4 5525:1771a7f9065c
213 """ 213 """
214 if self.__lineEditKind: 214 if self.__lineEditKind:
215 self._editor.setText(text) 215 self._editor.setText(text)
216 else: 216 else:
217 self._editor.setEditText(text) 217 self._editor.setEditText(text)
218 if text and self._editor.findText(text) == -1:
219 self._editor.insertItem(0, text)
218 220
219 def _editorText(self): 221 def _editorText(self):
220 """ 222 """
221 Protected method to get the text of the editor. 223 Protected method to get the text of the editor.
222 224

eric ide

mercurial