]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
refs #1278: automatic expanding level is set to 1 (to expand root HYDRO item)
authorasl <asl@opencascade.com>
Wed, 20 Sep 2017 11:31:58 +0000 (14:31 +0300)
committerasl <asl@opencascade.com>
Wed, 20 Sep 2017 11:31:58 +0000 (14:31 +0300)
src/HYDROGUI/HYDROGUI_DataModel.cxx

index 988fbf9c65f5f2af0ac91464e9e228f81ec91fb1..63249c73daedf1b515ce767a6c1ffe8181ec9a77 100644 (file)
@@ -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();
   }