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~60^2~49 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=95913bc75faa505a5e836bc0d99004fa67692d44;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 86e9af9eb..44ea6cec2 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);