From a79970ea31aefd827336fb4b86056b194252a6af Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 10 Jul 2007 14:14:44 +0000 Subject: [PATCH] *** empty log message *** --- 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 a255224ba..d32f6da9b 100644 --- a/src/LightApp/LightApp_Application.cxx +++ b/src/LightApp/LightApp_Application.cxx @@ -2204,7 +2204,9 @@ void LightApp_Application::updateWindows() for ( QMap::ConstIterator it = winMap.begin(); it != winMap.end(); ++it ) { getWindow( it.key() ); - DockWidgetArea dock = desktop()->dockWidgetArea( myWindows[it.key()] ); + if ( !myWindows.contains( it.key() ) ) + continue; + DockWidgetArea dock = desktop()->dockWidgetArea( myWindows[it.key()] ); if ( dock != NoDockWidgetArea && dock != (DockWidgetArea)it.value() ) { -- 2.39.2