From: mpa Date: Tue, 23 Sep 2014 13:37:03 +0000 (+0400) Subject: added flag after close study X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1b1ab96be05d347002c1cf8b945a8347d8cf9398;p=modules%2Fgui.git added flag after close study --- 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 ); }