]> 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)
committerjfa <jfa@opencascade.com>
Mon, 30 May 2022 13:57:12 +0000 (16:57 +0300)
src/SHAPERGUI/SHAPERGUI.cpp

index 64b24b8ce5f64a8e45f53a3eccd14e618fdf82fb..50491c4df38b2a60b85f5f663d765d3f2b9bf3a6 100644 (file)
@@ -790,6 +790,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;
 }
 
@@ -818,6 +820,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;
 }