diff --git a/src/appshell/view/navigableappmenumodel.cpp b/src/appshell/view/navigableappmenumodel.cpp index c2673de21da46..646ce21e13027 100644 --- a/src/appshell/view/navigableappmenumodel.cpp +++ b/src/appshell/view/navigableappmenumodel.cpp @@ -276,12 +276,11 @@ bool NavigableAppMenuModel::processEventForAppMenu(QEvent* event) bool isNavigationWithSymbol = !modifiers && isSingleSymbol && isNavigationStarted; - bool isNavigationWithAlt = (modifiers & Qt::AltModifier) - && !(modifiers & Qt::ShiftModifier) + bool isNavigationWithAlt = (modifiers == Qt::AltModifier) && isSingleSymbol; bool isAltKey = key == Qt::Key_Alt - && key != Qt::Key_Shift + && !(modifiers & Qt::ControlModifier) && !(modifiers & Qt::ShiftModifier); switch (event->type()) {