From: Cédric Aguerre Date: Mon, 18 Jul 2016 09:48:21 +0000 (+0200) Subject: [MEDCalc] Auto-expand object browser X-Git-Tag: V8_1_0b1~27 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=547310b7a6efbbe224df706320345a8b6acf8bc1;p=modules%2Fmed.git [MEDCalc] Auto-expand object browser --- 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&)));