vcl/source/control/edit.cxx | 3 +++ 1 file changed, 3 insertions(+) New commits: commit ef7afe7859af21f3e851fefa4448de4c8df77805 Author: Szymon Kłos <szymon.k...@collabora.com> AuthorDate: Fri Oct 21 12:11:06 2022 +0200 Commit: Szymon Kłos <szymon.k...@collabora.com> CommitDate: Wed Nov 9 14:23:50 2022 +0100
jsdialog: send edit widget's type information Change-Id: I878603e18c2c0ac8b1e9a9ff7995b6c640e455b2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141619 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Szymon Kłos <szymon.k...@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142471 Tested-by: Jenkins diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx index a072a42ec467..d58decb6fedd 100644 --- a/vcl/source/control/edit.cxx +++ b/vcl/source/control/edit.cxx @@ -2941,6 +2941,9 @@ void Edit::DumpAsPropertyTree(tools::JsonWriter& rJsonWriter) if (!maPlaceholderText.isEmpty()) rJsonWriter.put("placeholder", maPlaceholderText); + + if (IsPassword()) + rJsonWriter.put("password", true); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */