From: vsv Date: Wed, 26 Oct 2016 13:07:58 +0000 (+0300) Subject: Issue #1826: Set all Shaper menus between View and Tools menus X-Git-Tag: V_2.6.0~143 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0baeba0d44b5df3b0579475df3b72f10a90d453e;p=modules%2Fshaper.git Issue #1826: Set all Shaper menus between View and Tools menus --- diff --git a/src/SHAPERGUI/SHAPERGUI.cpp b/src/SHAPERGUI/SHAPERGUI.cpp index 9210b66ee..28492ec32 100644 --- a/src/SHAPERGUI/SHAPERGUI.cpp +++ b/src/SHAPERGUI/SHAPERGUI.cpp @@ -420,7 +420,7 @@ QAction* SHAPERGUI::addFeature(const QString& theWBName, const QString& theId, aAction->setData(theId); - int aWBMenu = createMenu(theWBName, -1, -1, 50/*10-Window, 1000 - Help*/); + int aWBMenu = createMenu(theWBName, -1, -1, 30/*10-Window, 1000 - Help*/); int aItemId = createMenu(aId, aWBMenu); if (isAddSeparator) createMenu(separator(), aWBMenu); @@ -456,7 +456,7 @@ QAction* SHAPERGUI::addFeatureOfNested(const QString& theWBName, anAction->setShortcut(theInfo.shortcut); anAction->setFont(theInfo.font); - int aWBMenu = createMenu(theWBName, -1, -1, 50); + int aWBMenu = createMenu(theWBName, -1, -1, 30); int aItemId = createMenu(anAction, aWBMenu); createMenu(separator(), aWBMenu); /// nested action is always separated of others