From c567ac7ff046ab666a4c38eeac65e56bf11dcb6e Mon Sep 17 00:00:00 2001 From: asl Date: Mon, 16 Dec 2013 05:55:43 +0000 Subject: [PATCH] bug #225: delete for dummy objects should be hidden --- src/HYDROGUI/HYDROGUI_Module.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 || -- 2.39.2