From: Jérôme Date: Mon, 30 Nov 2020 12:59:44 +0000 (+0100) Subject: #20389 Disapearement of menu "information" X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=235f175a2f48172aaa91af62a337b73770915748;p=modules%2Fshaper.git #20389 Disapearement of menu "information" --- diff --git a/src/SHAPERGUI/SHAPERGUI.cpp b/src/SHAPERGUI/SHAPERGUI.cpp index f92d89f69..6552f9936 100644 --- a/src/SHAPERGUI/SHAPERGUI.cpp +++ b/src/SHAPERGUI/SHAPERGUI.cpp @@ -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);