From 0baeba0d44b5df3b0579475df3b72f10a90d453e Mon Sep 17 00:00:00 2001 From: vsv Date: Wed, 26 Oct 2016 16:07:58 +0300 Subject: [PATCH] Issue #1826: Set all Shaper menus between View and Tools menus --- src/SHAPERGUI/SHAPERGUI.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2