From: vsv Date: Fri, 10 Oct 2014 13:52:55 +0000 (+0400) Subject: Issue #175: Add "Rebuild" command to Salome menu X-Git-Tag: V_0.5~102 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e9ea87187131b1a55bc1f9559a825bc7d26030c9;p=modules%2Fshaper.git Issue #175: Add "Rebuild" command to Salome menu --- diff --git a/src/XGUI/XGUI_Workshop.cpp b/src/XGUI/XGUI_Workshop.cpp index 0743931a3..6df891cd4 100644 --- a/src/XGUI/XGUI_Workshop.cpp +++ b/src/XGUI/XGUI_Workshop.cpp @@ -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