mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-28 06:00:32 +05:00
Text tree widget visual states of tree items should not be updated here because:
1. firstly it is updated according to object browser visual state of corresponded object 1. if we update it here, action "created OCC view" will show previous shown objects.
This commit is contained in:
parent
d448d82dba
commit
a2313210be
@ -1990,12 +1990,6 @@ void GeometryGUI::onWindowActivated( SUIT_ViewWindow* win )
|
||||
action( GEOMOp::OpEditField )->setEnabled( ViewOCC ); // Edit Field
|
||||
|
||||
action( GEOMOp::OpMultiTransform )->setEnabled( ViewOCC ); // MENU BLOCKS - MULTI-TRANSFORMATION
|
||||
|
||||
if ( ViewOCC )
|
||||
{
|
||||
SUIT_ViewModel* vmodel = win->getViewManager()->getViewModel();
|
||||
myTextTreeWdg->updateVisibility(dynamic_cast<SALOME_View*>(vmodel));
|
||||
}
|
||||
}
|
||||
|
||||
void GeometryGUI::windows( QMap<int, int>& mappa ) const
|
||||
|
Loading…
Reference in New Issue
Block a user