]> 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)
committerArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Thu, 2 Jul 2020 11:29:13 +0000 (14:29 +0300)
src/XGUI/XGUI_OperationMgr.cpp

index fc910e718ff2bbc099724dc1a036070bb5ffb9df..927d772cb5f5f7dde3da9e5dd31bbbcacd99f08a 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);