]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
#20389 Disapearement of menu "information"
authorJérôme <jerome.lucas@cesgenslab.fr>
Mon, 30 Nov 2020 12:59:44 +0000 (13:59 +0100)
committerJérôme <jerome.lucas@cesgenslab.fr>
Mon, 30 Nov 2020 12:59:44 +0000 (13:59 +0100)
src/SHAPERGUI/SHAPERGUI.cpp

index f92d89f69d7bcc8891d76cf276a29844632f8d7d..6552f99362950a64ca61a5b4a18ae02afc65227d 100644 (file)
@@ -174,7 +174,6 @@ void SHAPERGUI::initialize(CAM_Application* theApp)
   }
 
   int aMenu = createMenu(tr("Inspection"), -1, -1, 30);
-  int aSubMenu = createMenu(tr("Information"), aMenu, -1, -1, 0);
 
   int aId = getNextCommandId();
   myActionsList.append(aId);
@@ -184,7 +183,7 @@ void SHAPERGUI::initialize(CAM_Application* theApp)
     aTip, QKeySequence(), aDesk, true, this, SLOT(onWhatIs(bool)));
   myWhatIsAction->setStatusTip(aTip);
   myWhatIsAction->setData("INSPECTION_CMD");
-  createMenu(aId, aSubMenu, 0);
+  createMenu(aId, aMenu, 0);
 
   QString aToolName = tr("Inspection");
   int aTool = createTool(aToolName);