From: asl Date: Wed, 14 Oct 2009 06:05:56 +0000 (+0000) Subject: 0020515: the dockable windows states are not restored correctly X-Git-Tag: WSDL_Dev_V1~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8b3c9eaeeaac922b291e1e318421c4d074f7a4d9;p=modules%2Fgui.git 0020515: the dockable windows states are not restored correctly --- diff --git a/src/LightApp/LightApp_Application.cxx b/src/LightApp/LightApp_Application.cxx index 82a439d94..2b524699c 100644 --- a/src/LightApp/LightApp_Application.cxx +++ b/src/LightApp/LightApp_Application.cxx @@ -715,7 +715,9 @@ void LightApp_Application::onNewWindow() */ void LightApp_Application::onNewDoc() { - saveDockWindowsState(); + //asl: fix for 0020515 + if ( activeStudy() ) + saveDockWindowsState(); CAM_Application::onNewDoc(); }