HistoryCompleter: Fix current text() handling

Can be seen in the Debugger's "Command:" input: Selecting a
history entry with "Return" properly executes the selected
item, but put something else into the line edit.

Change-Id: I2efa05374d9c31e8a80219794f2dbaaf50a01f9b
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
hjk
2014-07-07 15:04:52 +02:00
parent a4f5f7f748
commit b70377c872
4 changed files with 29 additions and 23 deletions

View File

@@ -162,6 +162,7 @@ signals:
private slots:
void iconClicked();
void onTextChanged(const QString &);
void onEditingFinished();
protected:
void resizeEvent(QResizeEvent *e);