TextEditor: Do not trigger autocomplete after user aborts...

... for the same function

Task-number: QTCREATORBUG-5748
Change-Id: Iadf5be76c24f95cf057c2112a8248bea2a9e20cf
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
Orgad Shaneh
2013-09-12 00:21:12 +03:00
committed by Orgad Shaneh
parent c9a851c649
commit 1cfca29696
4 changed files with 33 additions and 4 deletions

View File

@@ -571,6 +571,7 @@ bool GenericProposalWidget::eventFilter(QObject *o, QEvent *e)
switch (ke->key()) {
case Qt::Key_Escape:
abort();
emit explicitlyAborted();
e->accept();
return true;