From 547310b7a6efbbe224df706320345a8b6acf8bc1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Aguerre?= Date: Mon, 18 Jul 2016 11:48:21 +0200 Subject: [PATCH] [MEDCalc] Auto-expand object browser --- src/MEDCalc/gui/MEDModule.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/MEDCalc/gui/MEDModule.cxx b/src/MEDCalc/gui/MEDModule.cxx index 8662acdf0..69f51d446 100644 --- a/src/MEDCalc/gui/MEDModule.cxx +++ b/src/MEDCalc/gui/MEDModule.cxx @@ -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&))); -- 2.39.2