]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
reinitialize study after closing doc to have empty data
authormpa <mpa@opencascade.com>
Wed, 8 Feb 2017 09:46:45 +0000 (12:46 +0300)
committermpa <mpa@opencascade.com>
Wed, 8 Feb 2017 09:46:45 +0000 (12:46 +0300)
src/SalomeApp/SalomeApp_Application.cxx

index 68fe5ee6674413efd5dedbbdd43722c78d355b84..a77e8215c141d338350d1d35b9009c5dac8f8452 100644 (file)
@@ -662,6 +662,9 @@ void SalomeApp_Application::onCloseDoc( bool ask )
 
   }
   LightApp_Application::onCloseDoc( ask );
+
+  // reinitialize study to have empty data
+  getStudy()->Init();
 }
 
 /*!Sets enable or disable some actions on selection changed.*/