From 8b3c9eaeeaac922b291e1e318421c4d074f7a4d9 Mon Sep 17 00:00:00 2001 From: asl Date: Wed, 14 Oct 2009 06:05:56 +0000 Subject: [PATCH] 0020515: the dockable windows states are not restored correctly --- src/LightApp/LightApp_Application.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(); } -- 2.39.2