forked from qt-creator/qt-creator
Locator: Add missing break in switch-case
Lead to the tiny bug that one could not trigger a shortcut "Alt+Escape" while in the locator input field Change-Id: I4eb3182588357f8ce0817459b3d20e4bbd87287a Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
@@ -420,6 +420,7 @@ bool LocatorWidget::eventFilter(QObject *obj, QEvent *event)
|
||||
QTimer::singleShot(0, this, &LocatorWidget::setFocusToCurrentMode);
|
||||
return true;
|
||||
}
|
||||
break;
|
||||
case Qt::Key_Alt:
|
||||
if (ke->modifiers() == Qt::AltModifier) {
|
||||
event->accept();
|
||||
|
||||
Reference in New Issue
Block a user