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-24 08:11:16 +00:00
parent 8f435fe2b4
commit f063265671

View File

@ -3083,7 +3083,7 @@ void SMESHGUI::initialize( CAM_Application* app )
// Clipping // Clipping
//------------------------------------------------- //-------------------------------------------------
popupMgr()->insert( action( 1134 ), -1, -1 ); 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 ); popupMgr()->insert( separator(), -1, -1 );