]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
*** empty log message ***
authorvsr <vsr@opencascade.com>
Tue, 10 Jul 2007 14:14:44 +0000 (14:14 +0000)
committervsr <vsr@opencascade.com>
Tue, 10 Jul 2007 14:14:44 +0000 (14:14 +0000)
src/LightApp/LightApp_Application.cxx

index a255224ba1374e1b6a25964c0114b96bc52f33cb..d32f6da9bea18903102de0d5396041f5c139485a 100644 (file)
@@ -2204,7 +2204,9 @@ void LightApp_Application::updateWindows()
     for ( QMap<int, int>::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() ) {