From: vsv Date: Wed, 1 Jul 2015 09:29:15 +0000 (+0300) Subject: Add Delete menu in multi-selection pop-up X-Git-Tag: V_1.3.0~139 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=94d268940c8d2279cda597bbfa01f8b50fed8c62;p=modules%2Fshaper.git Add Delete menu in multi-selection pop-up --- 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);