From: mpa Date: Fri, 10 Feb 2017 09:22:55 +0000 (+0300) Subject: Fix problem with notebook updating X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3de8c0e2e510ed492629ac43cfdeda4f353402c5;p=modules%2Fyacs.git Fix problem with notebook updating --- diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx b/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx index 09adc5d2c..25b63dc5a 100644 --- a/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx +++ b/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx @@ -1780,7 +1780,9 @@ std::string SALOMEDSImpl_Study::_GetStudyVariablesScript() //============================================================================ std::string SALOMEDSImpl_Study::_GetNoteBookAccess() { - return std::string("import salome_notebook\n"); + std::string notebook = "import salome_notebook\n"; + notebook += _GetNoteBookAccessor() + " = salome_notebook.NoteBook()" ; + return notebook; } bool SALOMEDSImpl_Study::IsLocked()