summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-07-08 13:57:55 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-07-08 16:14:45 +0100
commit81a8f537d64acf09b2165fdbba1f8bf50b5d9ae1 (patch)
treecf7d6e756207fe88e5d4ceb19df2fac20505c348 /vcl
parent5cc4b1ddd64eea6458390c500fe0ad8f0f224843 (diff)
Related: fdo#80633 dialog size cache has to be invalidated too
otherwise the VclExpander will have no effect Change-Id: I039fa361d7088dfe4a6ff849623e34b27e2be26b
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/dialog.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx
index 9cf4725d5b33..87d9d77f674d 100644
--- a/vcl/source/window/dialog.cxx
+++ b/vcl/source/window/dialog.cxx
@@ -1238,6 +1238,9 @@ void Dialog::queue_resize()
return;
if (!isLayoutEnabled())
return;
+ WindowImpl *pWindowImpl = mpWindowImpl->mpBorderWindow ? mpWindowImpl->mpBorderWindow->mpWindowImpl : mpWindowImpl;
+ pWindowImpl->mnOptimalWidthCache = -1;
+ pWindowImpl->mnOptimalHeightCache = -1;
maLayoutTimer.Start();
}