summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2020-12-25 13:29:42 -0400
committerHenry Castro <hcastro@collabora.com>2021-01-05 16:04:04 +0100
commit88dc324436af556515317662822eaf5c2c34fd26 (patch)
treecdb095241c93f47efa188ce298d2150662490531 /vcl/source
parentd67bb09840ccd4ceb6f532d3e466635ef5c6d199 (diff)
jsdialog: use the "WindowShow/WindowHide" to notify
If the "Macro Security Warning" message dialog is disabled the idle notifier, then it is used, the "WindowShow/Window Hide" events to notify client side. Change-Id: I48281cf5b76285a86f951eb057454610e266b85f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108290 Tested-by: Jenkins Reviewed-by: Henry Castro <hcastro@collabora.com>
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/window/builder.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index ee7c114c851c..dde33eb5bc86 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -204,7 +204,8 @@ weld::Builder* Application::CreateBuilder(weld::Widget* pParent, const OUString
|| rUIFile == "modules/scalc/ui/ttestdialog.ui"
|| rUIFile == "modules/scalc/ui/ztestdialog.ui"
|| rUIFile == "modules/scalc/ui/chisquaretestdialog.ui"
- || rUIFile == "modules/scalc/ui/fourieranalysisdialog.ui")
+ || rUIFile == "modules/scalc/ui/fourieranalysisdialog.ui"
+ || rUIFile == "uui/ui/macrowarnmedium.ui")
{
bUseJSBuilder = true;
}