[Libreoffice-commits] core.git: vcl/jsdialog
Szymon KÅos (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jul 29 12:38:40 UTC 2021
vcl/jsdialog/jsdialogbuilder.cxx | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
New commits:
commit 962b6307da5d1248481bf9efa534a7bbd37f3a41
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Tue Jun 29 12:34:18 2021 +0200
Commit: Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Thu Jul 29 14:38:03 2021 +0200
jsdialog: use original container type for popups
Change-Id: I6cffa33d7bfbc9087b8fff08b993c2a87b8811c2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118080
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119659
Tested-by: Jenkins
diff --git a/vcl/jsdialog/jsdialogbuilder.cxx b/vcl/jsdialog/jsdialogbuilder.cxx
index e250dcfe875e..db1e08173996 100644
--- a/vcl/jsdialog/jsdialogbuilder.cxx
+++ b/vcl/jsdialog/jsdialogbuilder.cxx
@@ -226,7 +226,13 @@ JSDialogNotifyIdle::generatePopupMessage(VclPtr<vcl::Window> pWindow, OUString s
if (!pWindow->GetParentWithLOKNotifier())
return aJsonWriter;
- pWindow->DumpAsPropertyTree(*aJsonWriter);
+ {
+ auto aChildren = aJsonWriter->startArray("children");
+ {
+ auto aStruct = aJsonWriter->startStruct();
+ pWindow->DumpAsPropertyTree(*aJsonWriter);
+ }
+ }
aJsonWriter->put("jsontype", "dialog");
aJsonWriter->put("type", "modalpopup");
More information about the Libreoffice-commits
mailing list