vcl/jsdialog/jsdialogbuilder.cxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
New commits: commit 962b6307da5d1248481bf9efa534a7bbd37f3a41 Author: Szymon Kłos <[email protected]> AuthorDate: Tue Jun 29 12:34:18 2021 +0200 Commit: Szymon Kłos <[email protected]> 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 <[email protected]> Reviewed-by: Szymon Kłos <[email protected]> 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"); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
