From: asl Date: Mon, 16 Dec 2013 05:55:43 +0000 (+0000) Subject: bug #225: delete for dummy objects should be hidden X-Git-Tag: BR_hydro_v_0_6~85 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c567ac7ff046ab666a4c38eeac65e56bf11dcb6e;p=modules%2Fhydro.git bug #225: delete for dummy objects should be hidden --- diff --git a/src/HYDROGUI/HYDROGUI_Module.cxx b/src/HYDROGUI/HYDROGUI_Module.cxx index f85b49a5..7c9c45f8 100644 --- a/src/HYDROGUI/HYDROGUI_Module.cxx +++ b/src/HYDROGUI/HYDROGUI_Module.cxx @@ -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 ||