From: asl Date: Wed, 20 Sep 2017 11:31:58 +0000 (+0300) Subject: refs #1278: automatic expanding level is set to 1 (to expand root HYDRO item) X-Git-Tag: v2.1~66^2~34 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1214e9573ca9079efdcac50c62cdd7d5f497bf22;p=modules%2Fhydro.git refs #1278: automatic expanding level is set to 1 (to expand root HYDRO item) --- diff --git a/src/HYDROGUI/HYDROGUI_DataModel.cxx b/src/HYDROGUI/HYDROGUI_DataModel.cxx index 988fbf9c..63249c73 100644 --- a/src/HYDROGUI/HYDROGUI_DataModel.cxx +++ b/src/HYDROGUI/HYDROGUI_DataModel.cxx @@ -492,6 +492,7 @@ void HYDROGUI_DataModel::update( const int theStudyId ) if ( !myStates.isEmpty() ) { ob->updateTree(); + ob->setAutoOpenLevel( 1 ); //ob->setOpenStates( myStates, ENTRY_COLUMN ); myStates.clear(); }