- {
- if ( SUIT_ViewModel* vmod = anOCCManager->getViewModel() )
- {
- SALOME_View* vf = dynamic_cast<SALOME_View*>( vmod );
- if ( vf )
- vf->EraseAll( true );
- }
-
- LightApp_Study* aStudy = dynamic_cast<LightApp_Study*>( aModule->getApp()->activeStudy() );
- if ( aStudy )
- aStudy->setVisibilityStateForAll( Qtx::HiddenState );
- }