From: vsv Date: Wed, 24 Jun 2020 07:29:33 +0000 (+0300) Subject: Issue #3261: Stop processing of the same event from different objects X-Git-Tag: V9_6_0a1~74 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c51b11f5d5f6e92d4a3a4851fd91e46e30cd19db;p=modules%2Fshaper.git Issue #3261: Stop processing of the same event from different objects --- 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);