diff options
author | Philipp Lohmann [pl] <Philipp.Lohmann@Sun.COM> | 2009-12-07 16:26:07 +0100 |
---|---|---|
committer | Philipp Lohmann [pl] <Philipp.Lohmann@Sun.COM> | 2009-12-07 16:26:07 +0100 |
commit | 6265bf19dd38b9c3dfd81828dc07ad579d02065d (patch) | |
tree | b86e8dcd1049b0d52c19d89f1fd635bdd726033e /vcl/source | |
parent | d5adb4b029ec99f46c114f238bdd5ebc5c2d768f (diff) |
vcl108: #b6906380# fix desktop switch logic
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/window/window.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index 63bf407ce49f..d2683f918931 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -4755,7 +4755,10 @@ void Window::doLazyDelete() SystemWindow* pSysWin = dynamic_cast<SystemWindow*>(this); DockingWindow* pDockWin = dynamic_cast<DockingWindow*>(this); if( pSysWin || ( pDockWin && pDockWin->IsFloatingMode() ) ) + { + Show( FALSE ); SetParent( ImplGetDefaultWindow() ); + } vcl::LazyDeletor<Window>::Delete( this ); } |