[Libreoffice-commits] core.git: Branch 'distro/collabora/co-2021' - sfx2/source
Szymon KÅos (via logerrit)
logerrit at kemper.freedesktop.org
Fri Jul 2 07:48:58 UTC 2021
sfx2/source/sidebar/Deck.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit ab1220d2a8ff35a8be595250542cf13efdc7e1c4
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Fri Jul 2 09:15:49 2021 +0200
Commit: Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Fri Jul 2 09:48:19 2021 +0200
jsdialog: sidebar: dump expanded state for panel
Change-Id: Iffd4570a512d20229c20c0c7bbb113eaf456bcba
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118250
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
diff --git a/sfx2/source/sidebar/Deck.cxx b/sfx2/source/sidebar/Deck.cxx
index 35203a18c4cd..9b266acb4e9b 100644
--- a/sfx2/source/sidebar/Deck.cxx
+++ b/sfx2/source/sidebar/Deck.cxx
@@ -157,6 +157,7 @@ void Deck::DumpAsPropertyTree(tools::JsonWriter& rJsonWriter)
rJsonWriter.put("text", it->GetTitle());
rJsonWriter.put("enabled", true);
rJsonWriter.put("hidden", it->IsLurking());
+ rJsonWriter.put("expanded", it->IsExpanded());
{
auto children2Node = rJsonWriter.startArray("children");
More information about the Libreoffice-commits
mailing list