vcl/source/control/tabctrl.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 88ac9b0cad22b80820b3a0cfcb64c944e93d376b Author: Szymon Kłos <szymon.k...@collabora.com> AuthorDate: Fri Feb 5 08:37:24 2021 +0100 Commit: Szymon Kłos <szymon.k...@collabora.com> CommitDate: Thu Feb 11 18:51:19 2021 +0100 jsdialog: properly export visibility of tab Change-Id: Ib715633a3c7ed0730349a8dbf7205199eebe89ec Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110713 Tested-by: Jenkins Reviewed-by: Szymon Kłos <szymon.k...@collabora.com> diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx index 571926faaca2..6ac2762f3022 100644 --- a/vcl/source/control/tabctrl.cxx +++ b/vcl/source/control/tabctrl.cxx @@ -2195,9 +2195,8 @@ void TabControl::DumpAsPropertyTree(tools::JsonWriter& rJsonWriter) auto childNode = rJsonWriter.startStruct(); pChild->DumpAsPropertyTree(rJsonWriter); - if (pChild->IsVisible()) { + if (!pChild->IsVisible()) rJsonWriter.put("hidden", "true"); - } } } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits