From c51b11f5d5f6e92d4a3a4851fd91e46e30cd19db Mon Sep 17 00:00:00 2001 From: vsv Date: Wed, 24 Jun 2020 10:29:33 +0300 Subject: [PATCH] Issue #3261: Stop processing of the same event from different objects --- src/XGUI/XGUI_OperationMgr.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/XGUI/XGUI_OperationMgr.cpp b/src/XGUI/XGUI_OperationMgr.cpp index fc910e718..927d772cb 100644 --- a/src/XGUI/XGUI_OperationMgr.cpp +++ b/src/XGUI/XGUI_OperationMgr.cpp @@ -107,6 +107,7 @@ bool XGUI_ShortCutListener::eventFilter(QObject *theObject, QEvent *theEvent) break; case Qt::Key_F2: myOperationMgr->xworkshop()->objectBrowser()->onEditItem(); + isAccepted = true; break; default: isAccepted = myOperationMgr->onKeyReleased(theObject, aKeyEvent); -- 2.39.2