From: vsr Date: Fri, 28 Sep 2018 09:30:08 +0000 (+0300) Subject: IPAL54438: TC9.2.0: GUI: Error while updating study from notebook X-Git-Tag: V9_2_0a2~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=120a8f06da91ce0620d5a39b87c4c77de5f3d01b;p=modules%2Fgui.git IPAL54438: TC9.2.0: GUI: Error while updating study from notebook --- diff --git a/src/SalomeApp/SalomeApp_Application.cxx b/src/SalomeApp/SalomeApp_Application.cxx index caac68017..aaf5ad2bf 100644 --- a/src/SalomeApp/SalomeApp_Application.cxx +++ b/src/SalomeApp/SalomeApp_Application.cxx @@ -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( SUIT_Session::session()->activeApplication() );