]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
bug #225: delete for dummy objects should be hidden
authorasl <asl@opencascade.com>
Mon, 16 Dec 2013 05:55:43 +0000 (05:55 +0000)
committerasl <asl@opencascade.com>
Mon, 16 Dec 2013 05:55:43 +0000 (05:55 +0000)
src/HYDROGUI/HYDROGUI_Module.cxx

index f85b49a5bda338b0b53d8913a075b99f7cb35c0f..7c9c45f802674298fb55eec1446390a60efbdceb 100644 (file)
@@ -558,7 +558,8 @@ void HYDROGUI_Module::contextMenuPopup( const QString& theClient,
       theMenu->addSeparator();
     }
 
-    theMenu->addAction( action( DeleteId ) );
+    if( !anIsDummyObject3D )
+      theMenu->addAction( action( DeleteId ) );
     theMenu->addSeparator();
 
     if( anIsImage || anIsPolyline || anIsPolyline3D ||