diff options
-rw-r--r-- | sw/source/ui/misc/contentcontroldlg.cxx | 5 | ||||
-rw-r--r-- | vcl/jsdialog/enabled.cxx | 4 |
2 files changed, 3 insertions, 6 deletions
diff --git a/sw/source/ui/misc/contentcontroldlg.cxx b/sw/source/ui/misc/contentcontroldlg.cxx index ec45e87066c4..799f722945ff 100644 --- a/sw/source/ui/misc/contentcontroldlg.cxx +++ b/sw/source/ui/misc/contentcontroldlg.cxx @@ -400,11 +400,6 @@ IMPL_LINK_NOARG(SwContentControlDlg, MoveDownHdl, weld::Button&, void) IMPL_LINK_NOARG(SwContentControlDlg, SelectionChangedHdl, weld::TreeView&, void) { - if (!m_xListItems->has_focus()) - { - return; - } - int nRow = m_xListItems->get_selected_index(); if (nRow < 0) { diff --git a/vcl/jsdialog/enabled.cxx b/vcl/jsdialog/enabled.cxx index 6ba2adc8b1fc..efb87ac0b9fe 100644 --- a/vcl/jsdialog/enabled.cxx +++ b/vcl/jsdialog/enabled.cxx @@ -61,7 +61,9 @@ bool isBuilderEnabled(std::u16string_view rUIFile, bool bMobile) || rUIFile == u"xmlsec/ui/certpage.ui" || rUIFile == u"svx/ui/accessibilitycheckdialog.ui" || rUIFile == u"modules/swriter/ui/translationdialog.ui" || rUIFile == u"svx/ui/accessibilitycheckentry.ui" - || rUIFile == u"cui/ui/widgettestdialog.ui") + || rUIFile == u"cui/ui/widgettestdialog.ui" + || rUIFile == u"modules/swriter/ui/contentcontroldlg.ui" + || rUIFile == u"modules/swriter/ui/contentcontrollistitemdlg.ui") { return true; } |