summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorrash419 <rashesh.padia@collabora.com>2022-06-15 17:23:44 +0530
committerMiklos Vajna <vmiklos@collabora.com>2022-06-16 15:02:13 +0200
commit8c53583faa493abf6cd7b2e56b5df7343e922133 (patch)
tree118940eaf4a647d58a2eaab6938441010a4da01f /sw
parent23f506196c616312528cc39620b6267043b76098 (diff)
sw: jsdialog: enable contentcontrol and contentcontrollistitem dialogs
contentcontrol: fix: modify, remove, move up/down buttons doesnot work even if item is selected in jsdialog Signed-off-by: rash419 <rashesh.padia@collabora.com> Change-Id: Ib038ce2a3ff6f92ab7314b18f36a038991a35f3c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135902 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/misc/contentcontroldlg.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/sw/source/ui/misc/contentcontroldlg.cxx b/sw/source/ui/misc/contentcontroldlg.cxx
index 95c86120e497..5e4347e62afb 100644
--- a/sw/source/ui/misc/contentcontroldlg.cxx
+++ b/sw/source/ui/misc/contentcontroldlg.cxx
@@ -374,11 +374,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)
{