From: nds Date: Tue, 15 Nov 2016 10:41:21 +0000 (+0300) Subject: Text tree widget visual states of tree items should not be updated here because: X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a2313210be9b566c01b5a6e7bb0c2990266c6e43;p=modules%2Fgeom.git 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. --- diff --git a/src/GEOMGUI/GeometryGUI.cxx b/src/GEOMGUI/GeometryGUI.cxx index 4a6c6f244..9f3c4b9bd 100755 --- a/src/GEOMGUI/GeometryGUI.cxx +++ b/src/GEOMGUI/GeometryGUI.cxx @@ -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(vmodel)); - } } void GeometryGUI::windows( QMap& mappa ) const