summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2023-06-21 17:36:09 +0200
committerSzymon Kłos <szymon.klos@collabora.com>2023-07-13 07:58:02 +0200
commita2528102bfc2e51aefe1ac99d5ead438b8e121d3 (patch)
treecd273c7c5eacb88f3853b6a7bace702109eaa6c8 /include/sfx2
parent642a628355f2bcfc45b829e7763b69351324634f (diff)
lok: sidebar: send full update only when changed panels
we only need to send update when: - we switch to other deck - panels were hidden, shown, created this helps to avoid full updates in navigator when clicking on images, what causes context change Change-Id: If1bca6167cdc3e9294eb5aefb923e92bc9043edc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153401 Reviewed-by: Attila Szűcs <attila.szucs@collabora.com> Tested-by: Attila Szűcs <attila.szucs@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154360 Tested-by: Jenkins Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/sidebar/Deck.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sfx2/sidebar/Deck.hxx b/include/sfx2/sidebar/Deck.hxx
index fe73e6332d90..215d3d215674 100644
--- a/include/sfx2/sidebar/Deck.hxx
+++ b/include/sfx2/sidebar/Deck.hxx
@@ -66,6 +66,8 @@ public:
sal_Int32 GetMinimalWidth() const { return mnMinimalWidth; }
+ static void LOKSendSidebarFullUpdate();
+
private:
void RequestLayoutInternal();