From 457649d02f23446ed2d28433a5aedecf6a49aed7 Mon Sep 17 00:00:00 2001 From: Szymon Kłos Date: Wed, 12 May 2021 09:18:25 +0200 Subject: jsdialog: sidebar: send sidebar Panels MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ia5a936c44e5d83fd4626098bcc027b0382523231 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116098 Tested-by: Jenkins CollaboraOffice Reviewed-by: Szymon Kłos Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119511 Tested-by: Jenkins --- sfx2/source/sidebar/DeckLayouter.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sfx2/source/sidebar/DeckLayouter.cxx') diff --git a/sfx2/source/sidebar/DeckLayouter.cxx b/sfx2/source/sidebar/DeckLayouter.cxx index c60549e5d65e..54f100cd71a8 100644 --- a/sfx2/source/sidebar/DeckLayouter.cxx +++ b/sfx2/source/sidebar/DeckLayouter.cxx @@ -25,6 +25,7 @@ #include #include #include +#include #include #include @@ -35,6 +36,8 @@ #include #include +#include + using namespace css; using namespace css::uno; @@ -303,6 +306,9 @@ sal_Int32 PlacePanels ( } } + if (comphelper::LibreOfficeKit::isActive()) + jsdialog::SendFullUpdate(reinterpret_cast(SfxViewShell::Current()), "Panel"); + return nY; } -- cgit v1.2.3