From 120a8f06da91ce0620d5a39b87c4c77de5f3d01b Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 28 Sep 2018 12:30:08 +0300 Subject: [PATCH] IPAL54438: TC9.2.0: GUI: Error while updating study from notebook --- src/SalomeApp/SalomeApp_Application.cxx | 3 +++ 1 file changed, 3 insertions(+) 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() ); -- 2.39.2