From a74134b4b8c35b0b8ef2b4eff9e53a2efd03096e Mon Sep 17 00:00:00 2001 From: rkv Date: Mon, 25 Nov 2013 10:09:17 +0000 Subject: [PATCH] Fix for the bug #65: popup menu does not contain Edit image for Image after split with Modify selected image --- src/HYDROGUI/HYDROGUI_Module.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HYDROGUI/HYDROGUI_Module.cxx b/src/HYDROGUI/HYDROGUI_Module.cxx index 2e32038f..acb420cd 100644 --- a/src/HYDROGUI/HYDROGUI_Module.cxx +++ b/src/HYDROGUI/HYDROGUI_Module.cxx @@ -257,7 +257,7 @@ void HYDROGUI_Module::contextMenuPopup( const QString& theClient, Handle(HYDROData_Image) anImage = Handle(HYDROData_Image)::DownCast( anObject ); if( !anImage.IsNull() ) { - anIsImportedImage = anImage->HasLocalPoints() && !anImage->IsSelfSplitted(); + anIsImportedImage = anImage->HasLocalPoints(); anIsImageHasRefs = anImage->HasReferences(); if( HYDROData_OperationsFactory* aFactory = HYDROData_OperationsFactory::Factory() ) { -- 2.39.2