From: vsr Date: Wed, 11 Oct 2017 07:30:20 +0000 (+0300) Subject: Fix pb with persistence mechanism for "light" modules: when saving from CORBA API... X-Git-Tag: V8_3_asterstudy_v0.10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ca96699f9f6ca66e1902bf1e42026d22bd2d7027;p=modules%2Fgui.git Fix pb with persistence mechanism for "light" modules: when saving from CORBA API (SALOMEDS), data of light modules is lost - Part 2 --- diff --git a/src/SalomeApp/SalomeApp_Study.cxx b/src/SalomeApp/SalomeApp_Study.cxx index 84bb76df6..b60de1a8a 100644 --- a/src/SalomeApp/SalomeApp_Study.cxx +++ b/src/SalomeApp/SalomeApp_Study.cxx @@ -1119,6 +1119,8 @@ bool SalomeApp_Study::openDataModel( const QString& studyName, CAM_DataModel* dm // for this module by LightApp_Engine_i::Load() bool isMultiFile = false; // TODO: decide, how to access this parameter RemoveTemporaryFiles( dm->module()->name().toStdString().c_str(), isMultiFile ); + std::vector listOfFiles ; + SetListOfFiles( dm->module()->name().toStdString().c_str(), listOfFiles ); // Something has been read -> create data model tree LightApp_DataModel* aDM = dynamic_cast( dm );