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

index b191f63aecc80406d7f31edeb8f4558bdb1258b4..30ab88f34a3eb68ce25a76cfbc5356406d29932b 100644 (file)
@@ -3056,7 +3056,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 );