Fix for bug IPAL20731 (Clipping item is available in pop-up with multiple selection, but it works for one element only).

This commit is contained in:
mzn 2008-12-23 12:14:23 +00:00
parent b84a36d5f7
commit 9514e6dbcf

View 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 );