]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #3261: Stop processing of the same event from different objects
authorvsv <vsv@opencascade.com>
Wed, 24 Jun 2020 07:29:33 +0000 (10:29 +0300)
committervsv <vsv@opencascade.com>
Wed, 24 Jun 2020 07:29:46 +0000 (10:29 +0300)
src/XGUI/XGUI_OperationMgr.cpp

index 86e9af9eb3da46ec6ac886abcf5a79d58aef5706..44ea6cec2f7e68159cd51274946b22e7697ce8dc 100644 (file)
@@ -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);