From 1b1ab96be05d347002c1cf8b945a8347d8cf9398 Mon Sep 17 00:00:00 2001 From: mpa Date: Tue, 23 Sep 2014 17:37:03 +0400 Subject: [PATCH] added flag after close study --- src/SalomeApp/SalomeApp_PyInterp.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/SalomeApp/SalomeApp_PyInterp.cxx b/src/SalomeApp/SalomeApp_PyInterp.cxx index b354cd0c6..70e5a82b9 100755 --- a/src/SalomeApp/SalomeApp_PyInterp.cxx +++ b/src/SalomeApp/SalomeApp_PyInterp.cxx @@ -88,6 +88,7 @@ void SalomeApp_PyInterp::initStudy() void SalomeApp_PyInterp::closeContext() { - simpleRun( "import salome", false ); - simpleRun( "salome.salome_close()", false ); + myFirstInitStudy = false; + simpleRun( "import salome", false ); + simpleRun( "salome.salome_close()", false ); } -- 2.39.2