E5Gui/E5PathPicker.py

changeset 5525
1771a7f9065c
parent 5389
9b1c800daff3
child 5674
a0ad2dcb27f9
diff -r b96b6e7cd8a4 -r 1771a7f9065c E5Gui/E5PathPicker.py
--- a/E5Gui/E5PathPicker.py	Thu Feb 16 18:52:42 2017 +0100
+++ b/E5Gui/E5PathPicker.py	Thu Feb 16 18:58:58 2017 +0100
@@ -215,6 +215,8 @@
             self._editor.setText(text)
         else:
             self._editor.setEditText(text)
+            if text and self._editor.findText(text) == -1:
+                self._editor.insertItem(0, text)
     
     def _editorText(self):
         """

eric ide

mercurial