]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Add Delete menu in multi-selection pop-up
authorvsv <vitaly.smetannikov@opencascade.com>
Wed, 1 Jul 2015 09:29:15 +0000 (12:29 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Wed, 1 Jul 2015 09:29:15 +0000 (12:29 +0300)
src/XGUI/XGUI_ContextMenuMgr.cpp

index a91cf9defa0d6b2b40d14ecf12fcb8e4d6f2c09b..8c47f51d1282e09168e30eae16f2635c698e7b09 100644 (file)
@@ -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);