From: vsv Date: Thu, 12 Dec 2019 12:41:50 +0000 (+0300) Subject: Issue #3122: Move Measurement item to Inspection menu X-Git-Tag: V9_5_0a1~102 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c6071088b2f55168f5706ce97802095af868b5e3;p=modules%2Fshaper.git Issue #3122: Move Measurement item to Inspection menu --- diff --git a/src/FeaturesPlugin/plugin-Features.xml b/src/FeaturesPlugin/plugin-Features.xml index 428f00314..a61e26b67 100644 --- a/src/FeaturesPlugin/plugin-Features.xml +++ b/src/FeaturesPlugin/plugin-Features.xml @@ -150,6 +150,8 @@ + + diff --git a/src/SHAPERGUI/SHAPERGUI.cpp b/src/SHAPERGUI/SHAPERGUI.cpp index bfac1ab62..8577d8da1 100644 --- a/src/SHAPERGUI/SHAPERGUI.cpp +++ b/src/SHAPERGUI/SHAPERGUI.cpp @@ -168,7 +168,7 @@ void SHAPERGUI::initialize(CAM_Application* theApp) } int aMenu = createMenu(tr("Inspection"), -1, -1, 30); - int aSubMenu = createMenu(tr("Information"), aMenu); + int aSubMenu = createMenu(tr("Information"), aMenu, -1, -1, 0); int aId = getNextCommandId(); myActionsList.append(aId); @@ -180,7 +180,7 @@ void SHAPERGUI::initialize(CAM_Application* theApp) myWhatIsAction->setData("INSPECTION_CMD"); createMenu(aId, aSubMenu, 0); - QString aToolName = tr("Inspection tool"); + QString aToolName = tr("Inspection"); int aTool = createTool(aToolName); int aToolId = createTool(myWhatIsAction, aTool); registerCommandToolbar(aToolName, aId);