summaryrefslogtreecommitdiff
path: root/vcl/jsdialog/enabled.cxx
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2024-07-08 14:58:22 +0200
committerSzymon Kłos <szymon.klos@collabora.com>2024-07-09 15:19:19 +0200
commit43025e02d400d025634387ab061cf860bcdea8e8 (patch)
tree1c7c2b62f2fce154af93bfd870ca35f6ae2513f4 /vcl/jsdialog/enabled.cxx
parentbeb9959896bf15c306fdbbd9d130e8dffb7062c1 (diff)
jsdialog: enable interaction handler without LOKNotifier cool#9453
When pasting content with URL to remote content behind basic authentication - we ask for user and password. That dialog didn't have LOKNotifier set. It's new case because we create the dialog controller and we setup the window id = 0, later when we run the dialog we did correct setup of LOKNotifier and id was changed to eg. 7. Then client had out of sync identifier because we already sent the old value. Setup the "default" notifier directly in weld_dialog to avoid that. Signed-off-by: Szymon Kłos <szymon.klos@collabora.com> Change-Id: I7b6ceef722f7f9827b1fb41cc0229b0170693d1b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170159 Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170192 Tested-by: Jenkins
Diffstat (limited to 'vcl/jsdialog/enabled.cxx')
-rw-r--r--vcl/jsdialog/enabled.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/jsdialog/enabled.cxx b/vcl/jsdialog/enabled.cxx
index ab0fbdbd7751..39a06e325d7d 100644
--- a/vcl/jsdialog/enabled.cxx
+++ b/vcl/jsdialog/enabled.cxx
@@ -258,6 +258,7 @@ bool isBuilderEnabled(std::u16string_view rUIFile, bool bMobile)
|| rUIFile == u"svx/ui/themecoloreditdialog.ui"
|| rUIFile == u"svx/ui/themedialog.ui"
// uui
+ || rUIFile == u"uui/ui/logindialog.ui"
|| rUIFile == u"uui/ui/macrowarnmedium.ui"
// vcl
|| rUIFile == u"vcl/ui/wizard.ui"