vcl/source/window/toolbox2.cxx | 3 --- 1 file changed, 3 deletions(-) New commits: commit a20e761cb1112357bfae35e24b49fae872bce3f6 Author: Szymon Kłos <szymon.k...@collabora.com> AuthorDate: Thu Mar 17 10:15:05 2022 +0100 Commit: Szymon Kłos <szymon.k...@collabora.com> CommitDate: Mon Mar 28 15:12:18 2022 +0200
jsdialog: fix toolboxes with children Don't block JSON generation if toolbox has children... Fixes missing sidebar items Change-Id: I34696d780b4292881792b2190a522610a8b4b597 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131696 Tested-by: Szymon Kłos <szymon.k...@collabora.com> Reviewed-by: Szymon Kłos <szymon.k...@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132201 Tested-by: Jenkins diff --git a/vcl/source/window/toolbox2.cxx b/vcl/source/window/toolbox2.cxx index f448a3492e2e..5a1112da5c6a 100644 --- a/vcl/source/window/toolbox2.cxx +++ b/vcl/source/window/toolbox2.cxx @@ -1736,9 +1736,6 @@ void ToolBox::DumpAsPropertyTree(tools::JsonWriter& rJsonWriter) { DockingWindow::DumpAsPropertyTree(rJsonWriter); - if (GetChildCount()) - return; - auto childrenNode = rJsonWriter.startArray("children"); for (ToolBox::ImplToolItems::size_type i = 0; i < GetItemCount(); ++i) {