From 3de8c0e2e510ed492629ac43cfdeda4f353402c5 Mon Sep 17 00:00:00 2001 From: mpa Date: Fri, 10 Feb 2017 12:22:55 +0300 Subject: [PATCH] Fix problem with notebook updating --- src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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() -- 2.39.2