diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2019-10-31 15:36:28 +0100 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2019-11-01 09:10:06 +0100 |
commit | e92a9ea35f1b04d2d6e5b3714e531b052a7a7868 (patch) | |
tree | a7ede5762dff5b1dfa8f5daec4bb726b3759c050 /desktop | |
parent | ce3c1615ffc29ae4c0ebf8b05e198070460fae0a (diff) |
jsdialogs: refresh SidebarDockingWindow after event
Before we had JSON genertion in Deck now it was moved
to the parent.
Change-Id: I0fc11ec716542fd3aa6862292ae94985ee3d20d4
Reviewed-on: https://gerrit.libreoffice.org/81854
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
(cherry picked from commit 415c87e617ae9bd1dc89a80023bce8746be69af9)
Reviewed-on: https://gerrit.libreoffice.org/81861
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/lib/init.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 3124e999fe56..36d6015db423 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -3349,8 +3349,8 @@ static void doc_sendDialogEvent(LibreOfficeKitDocument* /*pThis*/, unsigned nWin } catch(...) {} // force resend - pWindow->Hide(); - pWindow->Show(); + pWindow->GetParent()->Hide(); + pWindow->GetParent()->Show(); } } |