From 5fd2d97acdd395c4bcaf9780d2791eb5addc9489 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me?= Date: Mon, 30 Nov 2020 18:03:12 +0100 Subject: [PATCH] 20389 Add separator --- src/SHAPERGUI/SHAPERGUI.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/SHAPERGUI/SHAPERGUI.cpp b/src/SHAPERGUI/SHAPERGUI.cpp index 6552f9936..c0633ccc8 100644 --- a/src/SHAPERGUI/SHAPERGUI.cpp +++ b/src/SHAPERGUI/SHAPERGUI.cpp @@ -689,7 +689,12 @@ QAction* SHAPERGUI::addFeature(const QString& theWBName, const QString& theTBNam #ifdef _DEBUG int aItemId = #endif - createMenu(aId, aWBMenu); + + if( theId == "PointCoordinates" ) + createMenu(separator(), aWBMenu); + + createMenu(aId, aWBMenu); + if (isAddSeparator) createMenu(separator(), aWBMenu); -- 2.39.2