vcl/jsdialog/jsdialogbuilder.cxx | 1 + 1 file changed, 1 insertion(+) New commits: commit 905a112fb2c7500ed2dc5c2876f97cca4edaa8f5 Author: Szymon Kłos <szymon.k...@collabora.com> AuthorDate: Wed May 10 08:27:01 2023 +0200 Commit: Szymon Kłos <szymon.k...@collabora.com> CommitDate: Wed May 10 16:07:13 2023 +0200
jsdialog: don't send full update on message dialog close this fixes regression introduced in: commit 09976bda9c196b2426b8826941f21384a58bf536 jsdialog: don't close dialog on tab page destroy when enable macro warning was shown it required to close manually the dialog with 'x' button because after click on "enable' or 'disable' it wasn't closed Change-Id: I4741a874f93481ad03d043349520a1bf91a882be Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151602 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Szymon Kłos <szymon.k...@collabora.com> diff --git a/vcl/jsdialog/jsdialogbuilder.cxx b/vcl/jsdialog/jsdialogbuilder.cxx index caba64a60c32..359368f2a702 100644 --- a/vcl/jsdialog/jsdialogbuilder.cxx +++ b/vcl/jsdialog/jsdialogbuilder.cxx @@ -908,6 +908,7 @@ std::unique_ptr<weld::MessageDialog> JSInstanceBuilder::weld_message_dialog(cons m_bHasTopLevelDialog = true; initializeSender(GetNotifierWindow(), GetContentWindow(), GetTypeOfJSON()); + m_bSentInitialUpdate = true; } pRet.reset(pMessageDialog ? new JSMessageDialog(this, pMessageDialog, this, false) : nullptr);