]> 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>
Wed, 24 Dec 2008 08:11:16 +0000 (08:11 +0000)
committermzn <mzn@opencascade.com>
Wed, 24 Dec 2008 08:11:16 +0000 (08:11 +0000)
src/SMESHGUI/SMESHGUI.cxx

index 7b65aef333b07a291ab7c9cfaf29f4954d31e25b..6b962be03fabaf41cc44403231e5578512cb448f 100644 (file)
@@ -3083,7 +3083,7 @@ void SMESHGUI::initialize( CAM_Application* app )
   // Clipping
   //-------------------------------------------------
   popupMgr()->insert( action( 1134 ), -1, -1 );
-  popupMgr()->setRule( action( 1134 ), aMeshInVTK + "&& isVisible", QtxPopupMgr::VisibleRule );
+  popupMgr()->setRule( action( 1134 ), aMeshInVTK + "&& selcount=1 && isVisible", QtxPopupMgr::VisibleRule );
 
   popupMgr()->insert( separator(), -1, -1 );