diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-12-03 11:36:42 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-12-03 11:36:44 +0000 |
commit | d40d756f4079a228035b5db346da50fe7aed0bd2 (patch) | |
tree | 7fd8fece6968be2b0a3e20fa5745c7fb2ada5f06 /vcl/source/window | |
parent | 0261be7f92930952a470bc7f5e1d543b8907b1f0 (diff) |
Resolves: tdf#95700 index dialog cut off
queue_resize needs to invalidate the size cache even
if there is a pending layout idle awaiting
Change-Id: I6dba3d37fbb33125cc3f5d17aff6d2f7a3388654
Diffstat (limited to 'vcl/source/window')
-rw-r--r-- | vcl/source/window/syswin.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vcl/source/window/syswin.cxx b/vcl/source/window/syswin.cxx index e007a3182b01..a167c69957cc 100644 --- a/vcl/source/window/syswin.cxx +++ b/vcl/source/window/syswin.cxx @@ -1016,11 +1016,13 @@ const Link<SystemWindow&,void>& SystemWindow::GetCloseHdl() const void SystemWindow::queue_resize(StateChangedType /*eReason*/) { - if (hasPendingLayout() || isCalculatingInitialLayoutSize()) - return; if (!isLayoutEnabled()) return; + if (isCalculatingInitialLayoutSize()) + return; InvalidateSizeCache(); + if (hasPendingLayout()) + return; maLayoutIdle.Start(); } |