]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix for bug IPAL20731 (Clipping item is available in pop-up with multiple selection...
authormzn <mzn@opencascade.com>
Tue, 23 Dec 2008 12:12:49 +0000 (12:12 +0000)
committermzn <mzn@opencascade.com>
Tue, 23 Dec 2008 12:12:49 +0000 (12:12 +0000)
src/SMESHGUI/SMESHGUI.cxx

index effeeb30d40cc7c5a7c929e6bf168c623ae76fe1..723aec577c2289779ab6e195c911d3bcea7f1c85 100644 (file)
@@ -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 );