diff options
author | Jim Raykowski <raykowj@gmail.com> | 2022-04-01 22:08:42 -0800 |
---|---|---|
committer | Jim Raykowski <raykowj@gmail.com> | 2022-04-03 21:17:38 +0200 |
commit | 2d6af46a82c6b9f1565933e8a1175e7a184256ca (patch) | |
tree | 79c747c9dd2114bd1a9c971a214d16cad2204abf /sw/source/uibase/shells | |
parent | 1ea95f05ee8ec496c628bd11750d23cc012c7fe4 (diff) |
tdf#147925 fix view scrolling back to comment
fixes regression caused by fix done for commit
85057da7f19e8e5d6023c16fa07d138e2b519a66
Change-Id: I427513bd920f4e0047c64210feecfeac22ecfd10
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132451
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Diffstat (limited to 'sw/source/uibase/shells')
-rw-r--r-- | sw/source/uibase/shells/annotsh.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/annotsh.cxx b/sw/source/uibase/shells/annotsh.cxx index e99ee1eb2a24..3801f0489da7 100644 --- a/sw/source/uibase/shells/annotsh.cxx +++ b/sw/source/uibase/shells/annotsh.cxx @@ -135,7 +135,8 @@ SwAnnotationShell::SwAnnotationShell( SwView& r ) SwAnnotationShell::~SwAnnotationShell() { - m_rView.GetWrtShell().Edit(); + if (m_rView.GetWrtShell().CanInsert()) + m_rView.ShowCursor(true); } SfxUndoManager* SwAnnotationShell::GetUndoManager() |