]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
[MEDCalc] Auto-expand object browser
authorCédric Aguerre <cedric.aguerre@edf.fr>
Mon, 18 Jul 2016 09:48:21 +0000 (11:48 +0200)
committerabn <adrien.bruneton@cea.fr>
Wed, 27 Jul 2016 09:45:39 +0000 (11:45 +0200)
src/MEDCalc/gui/MEDModule.cxx

index 8662acdf00d97415a8a32fd97e49337bc1f10170..69f51d44684c43bd60cbf51c44db17050e8b591c 100644 (file)
@@ -113,6 +113,8 @@ MEDModule::initialize( CAM_Application* app )
   // call the parent implementation
   SalomeApp_Module::initialize( app );
 
+  getApp()->objectBrowser()->setAutoOpenLevel(5);
+
   if (app && app->desktop()) {
     connect((QObject*) (getApp()->objectBrowser()->treeView()), SIGNAL(doubleClicked(const QModelIndex&)),
             this, SLOT(onDblClick(const QModelIndex&)));