summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2023-05-10 08:27:01 +0200
committerSzymon Kłos <szymon.klos@collabora.com>2023-05-12 12:26:20 +0200
commit77b2fd00eee43cac9defe55b9622d95c3cb21542 (patch)
tree1df206beabe41f80cbb2ed1525a05ba1ace034e1 /vcl
parent29f6cea1bf55bc40d124fb0ca5cd8895c9053843 (diff)
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 <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151694 Tested-by: Jenkins
Diffstat (limited to 'vcl')
-rw-r--r--vcl/jsdialog/jsdialogbuilder.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/jsdialog/jsdialogbuilder.cxx b/vcl/jsdialog/jsdialogbuilder.cxx
index 9b185b2701e5..ed3a0893dbcb 100644
--- a/vcl/jsdialog/jsdialogbuilder.cxx
+++ b/vcl/jsdialog/jsdialogbuilder.cxx
@@ -905,6 +905,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);