[Libreoffice-commits] core.git: vcl/source
Szymon KÅos (via logerrit)
logerrit at kemper.freedesktop.org
Thu Feb 11 17:52:01 UTC 2021
vcl/source/control/tabctrl.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 88ac9b0cad22b80820b3a0cfcb64c944e93d376b
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Fri Feb 5 08:37:24 2021 +0100
Commit: Szymon Kłos <szymon.klos at 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.klos at 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");
- }
}
}
}
More information about the Libreoffice-commits
mailing list