From 94d268940c8d2279cda597bbfa01f8b50fed8c62 Mon Sep 17 00:00:00 2001 From: vsv Date: Wed, 1 Jul 2015 12:29:15 +0300 Subject: [PATCH] Add Delete menu in multi-selection pop-up --- src/XGUI/XGUI_ContextMenuMgr.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/XGUI/XGUI_ContextMenuMgr.cpp b/src/XGUI/XGUI_ContextMenuMgr.cpp index a91cf9def..8c47f51d1 100644 --- a/src/XGUI/XGUI_ContextMenuMgr.cpp +++ b/src/XGUI/XGUI_ContextMenuMgr.cpp @@ -331,11 +331,13 @@ QMenu* XGUI_ContextMenuMgr::objBrowserMenu() const if (myObjBrowserMenus.contains(aName)) aActions = myObjBrowserMenus[aName]; } else if (aSelected > 1) { + aActions.append(action("SHADING_CMD")); + aActions.append(action("WIREFRAME_CMD")); + aActions.append(mySeparator); aActions.append(action("HIDE_CMD")); aActions.append(action("SHOW_ONLY_CMD")); aActions.append(mySeparator); - aActions.append(action("SHADING_CMD")); - aActions.append(action("WIREFRAME_CMD")); + aActions.append(action("DELETE_CMD")); } aMenu->addActions(aActions); -- 2.39.2