vcl/source/control/edit.cxx | 3 +++ 1 file changed, 3 insertions(+) New commits: commit 7733ecdc795555355aff0e0018ed6067c9c2784a 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: Thu Oct 27 11:49:57 2022 +0200
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> diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx index 46d9f67dc240..b9d2be20f918 100644 --- a/vcl/source/control/edit.cxx +++ b/vcl/source/control/edit.cxx @@ -2919,6 +2919,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: */