From 7665bea85cdf0fee86cefdc5bb058e513f7d348a Mon Sep 17 00:00:00 2001 From: asl Date: Thu, 23 Mar 2006 11:28:18 +0000 Subject: [PATCH] PAL11956 - After activating SUPERV, GEOM, SUPERV again Log Window isn't visible --- src/LightApp/LightApp_Application.cxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/LightApp/LightApp_Application.cxx b/src/LightApp/LightApp_Application.cxx index f4e934a99..799db0056 100644 --- a/src/LightApp/LightApp_Application.cxx +++ b/src/LightApp/LightApp_Application.cxx @@ -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".*/ -- 2.39.2