From d16f11fa8e27b41619c62347d140bf7927422c65 Mon Sep 17 00:00:00 2001 From: krasko <154632626+krasko78@users.noreply.github.com> Date: Tue, 31 Dec 2024 04:33:51 +0100 Subject: [PATCH] 13451: Do not activate the main menu with Ctrl+Alt key combinations --- src/appshell/view/navigableappmenumodel.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/appshell/view/navigableappmenumodel.cpp b/src/appshell/view/navigableappmenumodel.cpp index c2673de21da46..1a371c07b93b0 100644 --- a/src/appshell/view/navigableappmenumodel.cpp +++ b/src/appshell/view/navigableappmenumodel.cpp @@ -277,11 +277,13 @@ bool NavigableAppMenuModel::processEventForAppMenu(QEvent* event) && isSingleSymbol && isNavigationStarted; bool isNavigationWithAlt = (modifiers & Qt::AltModifier) + && !(modifiers & Qt::ControlModifier) && !(modifiers & Qt::ShiftModifier) && isSingleSymbol; bool isAltKey = key == Qt::Key_Alt && key != Qt::Key_Shift + && !(modifiers & Qt::ControlModifier) && !(modifiers & Qt::ShiftModifier); switch (event->type()) {