forked from qt-creator/qt-creator
ProposalWidgets: Accept escape key event
Otherwise it is passed on to other widgets (like the Find toolbar) Task-number: QTCREATORBUG-5748 Change-Id: I3e7fe19327d2b3d15c9c9f84360b936dc4698dfd Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
fc52103524
commit
8f470b0512
@@ -571,6 +571,7 @@ bool GenericProposalWidget::eventFilter(QObject *o, QEvent *e)
|
||||
switch (ke->key()) {
|
||||
case Qt::Key_Escape:
|
||||
abort();
|
||||
e->accept();
|
||||
return true;
|
||||
|
||||
case Qt::Key_N:
|
||||
|
||||
Reference in New Issue
Block a user