From 415c87e617ae9bd1dc89a80023bce8746be69af9 Mon Sep 17 00:00:00 2001 From: Szymon Kłos Date: Thu, 31 Oct 2019 15:36:28 +0100 Subject: jsdialogs: refresh SidebarDockingWindow after event MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- desktop/source/lib/init.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'desktop') diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 3884dbc98882..b00638eaa127 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(); } } -- cgit