diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-05-06 14:37:29 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-05-06 14:38:53 +0100 |
commit | 0005d50f07f35fa1cb2063cf2cbad465c4068225 (patch) | |
tree | 33b97915dc70e136664fa57ca287f02172b39e10 | |
parent | 2c9b7e3304db9d571d15a4ba3732acf8cf40cffe (diff) |
tdf#91073 - don't queue an async user event when disposed.
Change-Id: Ic0a084fe7392ae5a407a367fb67a5a1837a2ca14
-rw-r--r-- | vcl/source/window/floatwin.cxx | 4 |
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 ) ); } |