summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2021-11-17 14:36:25 -0900
committerXisco Fauli <xiscofauli@libreoffice.org>2021-12-16 15:46:52 +0100
commit7195ae38d731b9f00b501e88de6c14c543a9442f (patch)
tree54d729405136c9835c3308f96ca9192661aeaa8c /sw/source
parentdd4d715ef775db456c0c9653a3d9f9b439e82e8e (diff)
tdf#145747 Fix cursor not shown
after moving focus from shape object to comment window to edit window Change-Id: Ibce3939575cfdc941eec45fea24383fc5edf53d9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125431 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com> (cherry picked from commit 85057da7f19e8e5d6023c16fa07d138e2b519a66) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126885 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/uibase/shells/annotsh.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/uibase/shells/annotsh.cxx b/sw/source/uibase/shells/annotsh.cxx
index 0a798724c508..b05fedf7c5ae 100644
--- a/sw/source/uibase/shells/annotsh.cxx
+++ b/sw/source/uibase/shells/annotsh.cxx
@@ -134,6 +134,7 @@ SwAnnotationShell::SwAnnotationShell( SwView& r )
SwAnnotationShell::~SwAnnotationShell()
{
+ m_rView.GetWrtShell().Edit();
}
SfxUndoManager* SwAnnotationShell::GetUndoManager()