]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Log desktop actions
authorjfa <jfa@opencascade.com>
Mon, 30 May 2022 13:57:12 +0000 (16:57 +0300)
committerPascal Obry <pascal.obry@edf.fr>
Tue, 5 Sep 2023 09:15:09 +0000 (11:15 +0200)
src/SHAPERGUI/SHAPERGUI.cpp

index 9232099ac0e71d0e283f41fca7e0abc919958bd8..5717b08f3c9ebf0391507186fb2665068a078563 100644 (file)
@@ -787,6 +787,8 @@ QAction* SHAPERGUI::addFeatureOfNested(const QString& theWBName,
   createTool(separator(), aWBTool); /// nested action is always separated of others
   registerCommandToolbar(theWBName, -1);
 
+  connect(anAction, SIGNAL(triggered(bool)), this, SLOT(logShaperGUIEvent()));
+
   return anAction;
 }
 
@@ -815,6 +817,9 @@ QAction* SHAPERGUI::addDesktopCommand(const QString& theId, const QString& theTi
   aAction->setStatusTip(theTip);
   aAction->setData(theId);
   createMenu(aId, aMenu, theMenuPosition);
+
+  connect(aAction, SIGNAL(triggered(bool)), this, SLOT(logShaperGUIEvent()));
+
   return aAction;
 }