From dbcb0b2ad47782576b1502ec13deb4652ae214f6 Mon Sep 17 00:00:00 2001 From: Szymon Kłos Date: Tue, 19 Nov 2019 17:59:17 +0200 Subject: Revert "jsdialogs: don't recreate sidebar on event" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 0c75ccd84ea64f2c69afe104a4b4ebd55b3cc215. Change-Id: I127cd0179d24af52f695c9f1ee0792b9573e6e0e Reviewed-on: https://gerrit.libreoffice.org/83219 Tested-by: Jenkins CollaboraOffice Reviewed-by: Szymon Kłos --- desktop/source/lib/init.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'desktop') diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index e0d5973b5dcd..36a37165154c 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -3357,6 +3357,10 @@ static void doc_sendDialogEvent(LibreOfficeKitDocument* /*pThis*/, unsigned nWin pUIWindow->execute(sClickAction, aMap); } } catch(...) {} + + // force resend + pWindow->Hide(); + pWindow->Show(); } } -- cgit