diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2021-05-21 16:45:29 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2021-07-26 15:55:51 +0200 |
commit | 9cf1c5c8468d0e4974fe809455713a3e8f162822 (patch) | |
tree | 1c7ebc885d24b3dcc17d7583dc74564bfc3d7599 /sfx2 | |
parent | bd96480dab1313d62d8b58f2f6cb09ea03022cf7 (diff) |
jsdialog: sidebar: dump all panels
Change-Id: Ifa547014f6857b0c1fbdce50cba745f1bee4e975
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119500
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/sidebar/Deck.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sfx2/source/sidebar/Deck.cxx b/sfx2/source/sidebar/Deck.cxx index 700fb19251bf..422eb3bb6b9b 100644 --- a/sfx2/source/sidebar/Deck.cxx +++ b/sfx2/source/sidebar/Deck.cxx @@ -144,9 +144,6 @@ void Deck::DumpAsPropertyTree(tools::JsonWriter& rJsonWriter) auto childrenNode = rJsonWriter.startArray("children"); for (auto &it : maPanels) { - if (it->IsLurking()) - continue; - // collapse the panel itself out auto xContent = it->GetContents(); if (!xContent) @@ -157,6 +154,7 @@ void Deck::DumpAsPropertyTree(tools::JsonWriter& rJsonWriter) rJsonWriter.put("type", "panel"); rJsonWriter.put("text", it->GetTitle()); rJsonWriter.put("enabled", true); + rJsonWriter.put("hidden", it->IsLurking()); { auto children2Node = rJsonWriter.startArray("children"); |