summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/ui/misc/contentcontroldlg.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/ui/misc/contentcontroldlg.cxx b/sw/source/ui/misc/contentcontroldlg.cxx
index 84f440a6fa8f..95c86120e497 100644
--- a/sw/source/ui/misc/contentcontroldlg.cxx
+++ b/sw/source/ui/misc/contentcontroldlg.cxx
@@ -224,6 +224,10 @@ IMPL_LINK_NOARG(SwContentControlDlg, OkHdl, weld::Button&, void)
if (bChanged)
{
m_rWrtShell.GetDoc()->getIDocumentState().SetModified();
+
+ // Make sure that the cursor gets updated with the new list items.
+ m_rWrtShell.HideCursor();
+ m_rWrtShell.ShowCursor();
}
m_xDialog->response(RET_OK);