summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/source/window/floatwin.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/floatwin.cxx b/vcl/source/window/floatwin.cxx
index 39030b7ab122..0d6ef0d9cc12 100644
--- a/vcl/source/window/floatwin.cxx
+++ b/vcl/source/window/floatwin.cxx
@@ -582,8 +582,8 @@ void FloatingWindow::ImplCallPopupModeEnd()
// PopupMode is finished
mbInPopupMode = false;
- // call Handler asynchron.
- if ( !mnPostId )
+ // call Handler asynchronously.
+ if ( mpImplData && !mnPostId )
mnPostId = Application::PostUserEvent( LINK( this, FloatingWindow, ImplEndPopupModeHdl ) );
}