From: mzn Date: Tue, 23 Dec 2008 12:12:49 +0000 (+0000) Subject: Fix for bug IPAL20731 (Clipping item is available in pop-up with multiple selection... X-Git-Tag: V4_1_5rc1~50 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=064a124120a53ac96aaba2b8fab28eae2ed72801;p=modules%2Fsmesh.git Fix for bug IPAL20731 (Clipping item is available in pop-up with multiple selection, but it works for one element only). --- diff --git a/src/SMESHGUI/SMESHGUI.cxx b/src/SMESHGUI/SMESHGUI.cxx index effeeb30d..723aec577 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -3107,7 +3107,7 @@ void SMESHGUI::initialize( CAM_Application* app ) // Clipping //------------------------------------------------- popupMgr()->insert( action( 1134 ), -1, -1 ); - popupMgr()->setRule( action( 1134 ), aMeshInVTK + "&& isVisible", true ); + popupMgr()->setRule( action( 1134 ), aMeshInVTK + "&& selcount=1 && isVisible", true ); popupMgr()->insert( separator(), -1, -1 );