]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
added flag after close study
authormpa <mpa@opencascade.com>
Tue, 23 Sep 2014 13:37:03 +0000 (17:37 +0400)
committermpa <mpa@opencascade.com>
Tue, 23 Sep 2014 13:37:03 +0000 (17:37 +0400)
src/SalomeApp/SalomeApp_PyInterp.cxx

index b354cd0c6faa99111ec10eca7bfd50dddf9cbf4f..70e5a82b9478d9aa1ca5384555a92ada743b8a85 100755 (executable)
@@ -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 );
 }