]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #175: Add "Rebuild" command to Salome menu
authorvsv <vitaly.smetannikov@opencascade.com>
Fri, 10 Oct 2014 13:52:55 +0000 (17:52 +0400)
committervsv <vitaly.smetannikov@opencascade.com>
Fri, 10 Oct 2014 13:52:55 +0000 (17:52 +0400)
src/XGUI/XGUI_Workshop.cpp

index 0743931a307f62300aff0689cf9cf5f475f820be..6df891cd4944d3b843f7e9dedcac036c3af12ac5 100644 (file)
@@ -179,6 +179,11 @@ void XGUI_Workshop::initMenu()
                                                 false);
     connect(aAction, SIGNAL(triggered(bool)), this, SLOT(onRedo()));
     salomeConnector()->addEditMenuSeparator();
+    aAction = salomeConnector()->addEditCommand("REBUILD_CMD", tr("Rebuild"), tr("Rebuild data objects"),
+                                                QIcon(":pictures/rebuild.png"), QKeySequence(),
+                                                false);
+    connect(aAction, SIGNAL(triggered(bool)), this, SLOT(onRebuild()));
+    salomeConnector()->addEditMenuSeparator();
     return;
   }
   // File commands group