]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
IPAL54438: TC9.2.0: GUI: Error while updating study from notebook
authorvsr <vsr@opencascade.com>
Fri, 28 Sep 2018 09:30:08 +0000 (12:30 +0300)
committervsr <vsr@opencascade.com>
Fri, 28 Sep 2018 09:30:08 +0000 (12:30 +0300)
src/SalomeApp/SalomeApp_Application.cxx

index caac68017bc967166d2a5b61fe2c5bd63ee06c31..aaf5ad2bf2d60cc734d042e09a6ab296511ff174 100644 (file)
@@ -2032,6 +2032,9 @@ bool SalomeApp_Application::onRestoreStudy( const QString& theDumpScript,
 {
   bool ok = true;
 
+  // create a new study
+  onNewDoc();
+
   // get active application
   SalomeApp_Application* app = dynamic_cast<SalomeApp_Application*>( SUIT_Session::session()->activeApplication() );