]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Restore 'Delete' pop-up command
authorvsv <vitaly.smetannikov@opencascade.com>
Fri, 7 Nov 2014 15:29:48 +0000 (18:29 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Fri, 7 Nov 2014 15:29:48 +0000 (18:29 +0300)
src/XGUI/XGUI_ContextMenuMgr.cpp

index dee473c60fc7453f49f4e51dfa40d5a84b897626..3063959fb5f66df1708e265e0dc9412d2324818a 100644 (file)
@@ -170,9 +170,9 @@ QMenu* XGUI_ContextMenuMgr::objectBrowserMenu() const
         aMenu->addAction(action("SHADING_CMD"));
         aMenu->addAction(action("WIREFRAME_CMD"));
       }
-      if (hasFeature)
-        aMenu->addAction(action("DELETE_CMD"));
     }
+    if (hasFeature)
+      aMenu->addAction(action("DELETE_CMD"));
   }
   aMenu->addSeparator();
   aMenu->addActions(myWorkshop->objectBrowser()->actions());