summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorPranam Lashkari <lpranam@collabora.com>2023-04-04 14:52:26 +0100
committerPranam Lashkari <lpranam@collabora.com>2023-05-03 20:46:27 +0200
commita4e8c663b613fcd2ec26211faedb6e703f27806b (patch)
tree287c40ee32b0d86b6be573b2c53b014878da5fa6 /vcl
parent1c706980a79812d4fb0930ff35217a4b776aafd7 (diff)
jsdialog: enabled word count dialog (writer)
set mobile fields visibility only with mobile phones Change-Id: I5680effe9df5de01221bcf52e339490aa5dd5a6d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150024 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> (cherry picked from commit e7bcf7aa95a31dcefc82f56b23a36424353016c3) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151280 Tested-by: Jenkins Reviewed-by: Pranam Lashkari <lpranam@collabora.com>
Diffstat (limited to 'vcl')
-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 0ed9c299bc00..86528c4c6ca8 100644
--- a/vcl/jsdialog/enabled.cxx
+++ b/vcl/jsdialog/enabled.cxx
@@ -198,6 +198,7 @@ bool isBuilderEnabled(std::u16string_view rUIFile, bool bMobile)
|| rUIFile == u"modules/swriter/ui/tocstylespage.ui"
|| rUIFile == u"modules/swriter/ui/translationdialog.ui"
|| rUIFile == u"modules/swriter/ui/watermarkdialog.ui"
+ || rUIFile == u"modules/swriter/ui/wordcount.ui"
// sfx
|| rUIFile == u"sfx/ui/cmisinfopage.ui"
|| rUIFile == u"sfx/ui/custominfopage.ui"