diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-11-13 10:47:59 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-11-13 15:57:45 +0100 |
commit | 7f2e2f683778a508bfc67e37ae2c01102cca7a67 (patch) | |
tree | ba571a82ab4a3a86eb8377e10ce3f48252ad966b /vcl | |
parent | 6db0267156030ca24163efd9b66278f54bf28d73 (diff) |
Resolves: tdf#113366 Contour editor does not open
reportedly
This reverts commit 15869ea2dcd8a6b33044d08eef6fcaf8ca54579d.
Change-Id: I930567f8dd9701a14ab02f42f89a629949453f22
Reviewed-on: https://gerrit.libreoffice.org/44671
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/floatwin.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/source/window/floatwin.cxx b/vcl/source/window/floatwin.cxx index dc6cd3c6b4df..57c5f7ec26a8 100644 --- a/vcl/source/window/floatwin.cxx +++ b/vcl/source/window/floatwin.cxx @@ -596,6 +596,11 @@ void FloatingWindow::LogicInvalidate(const tools::Rectangle* /*pRectangle*/) void FloatingWindow::StateChanged( StateChangedType nType ) { + if (nType == StateChangedType::InitShow) + { + DoInitialLayout(); + } + SystemWindow::StateChanged( nType ); Dialog* pParentDlg = GetParentDialog(); if (pParentDlg && nType == StateChangedType::InitShow && IsVisible()) |