summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorSkyler Grey <skyler3665@gmail.com>2022-08-17 13:17:25 +0100
committerSzymon Kłos <szymon.klos@collabora.com>2022-11-21 11:17:07 +0100
commit4b4e7ac74e2b72833de6b464b25b077b7541f43a (patch)
tree5268beabb99f7fd667f4c841d8b1da2f79d342bf /vcl
parent727141098b7d7bfed65e64d2062042269a8f6088 (diff)
Make the insert caption options an async jsdialog
- In https://gerrit.libreoffice.org/c/core/+/138313, the insert caption dialog was converted to an async jsdialog. It has 2 subdialogs which it opens when you press the 'options' and 'auto' buttons - This review converts the first of these (the options dialog) to an async jsdialog as well, bringing it up to parity with the parent dialog Change-Id: I703b66d8c786d8cbb0b1285014247b38d8d70605 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138442 Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142989 Tested-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/jsdialog/enabled.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/jsdialog/enabled.cxx b/vcl/jsdialog/enabled.cxx
index 89b50c96fab1..506838da2cff 100644
--- a/vcl/jsdialog/enabled.cxx
+++ b/vcl/jsdialog/enabled.cxx
@@ -70,7 +70,8 @@ bool isBuilderEnabled(std::u16string_view rUIFile, bool bMobile)
|| rUIFile == u"sfx/ui/custominfopage.ui" || rUIFile == u"sfx/ui/cmisinfopage.ui"
|| rUIFile == u"sfx/ui/descriptioninfopage.ui" || rUIFile == u"sfx/ui/documentinfopage.ui"
|| rUIFile == u"sfx/ui/linefragment.ui" || rUIFile == u"sfx/ui/editdurationdialog.ui"
- || rUIFile == u"modules/swriter/ui/insertcaption.ui")
+ || rUIFile == u"modules/swriter/ui/insertcaption.ui"
+ || rUIFile == u"modules/swriter/ui/captionoptions.ui")
{
return true;
}