]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
PAL11956 - After activating SUPERV, GEOM, SUPERV again Log Window isn't visible
authorasl <asl@opencascade.com>
Thu, 23 Mar 2006 11:28:18 +0000 (11:28 +0000)
committerasl <asl@opencascade.com>
Thu, 23 Mar 2006 11:28:18 +0000 (11:28 +0000)
src/LightApp/LightApp_Application.cxx

index f4e934a99ae64e4e3dd50573f5267330055e7259..799db0056135ca646975d9c473ca1b7e5a924661 100644 (file)
@@ -1068,7 +1068,13 @@ void LightApp_Application::setWindowShown( const int type, const bool on )
 
   QDockWindow* dw = myWindows[type];
   desktop()->setAppropriate( dw, on );
-  on ? dw->show() : dw->hide();
+  if( on )
+    dw->show();
+  else if( dw->isShown() )
+  {
+    dw->hide();
+    myWindowsVisible[ type ] = true;
+  }
 }
 
 /*!Gets "ObjectBrowser".*/