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 |