summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2021-05-21 16:45:29 +0200
committerSzymon Kłos <szymon.klos@collabora.com>2021-05-25 12:21:29 +0200
commitac0f18d5e8f463f79245d37043cc59c3a143f4b5 (patch)
treee2f96ca491b32834a31428f899a8e6ce26acdb93 /sfx2
parentf527e537cb5f44974f8327c47be658138820e038 (diff)
jsdialog: sidebar: dump all panels
Change-Id: Ifa547014f6857b0c1fbdce50cba745f1bee4e975
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/sidebar/Deck.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sfx2/source/sidebar/Deck.cxx b/sfx2/source/sidebar/Deck.cxx
index 5070d500038d..7a5b89139a08 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");