From a2313210be9b566c01b5a6e7bb0c2990266c6e43 Mon Sep 17 00:00:00 2001 From: nds Date: Tue, 15 Nov 2016 13:41:21 +0300 Subject: [PATCH] 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. --- src/GEOMGUI/GeometryGUI.cxx | 6 ------ 1 file changed, 6 deletions(-) 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 -- 2.39.2