sw/source/core/access/AccessibilityIssue.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 2768ada1943a4dfb7ac2fc080656e151dd55efb8 Author: Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de> AuthorDate: Thu Sep 7 13:56:30 2023 +0200 Commit: Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de> CommitDate: Fri Sep 8 14:07:11 2023 +0200 tdf#157134 Fix selecting shape when image was selected before Change-Id: Ia45385aa5f76390f17fbcb14f7872ba0a0d9e14f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156665 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de> diff --git a/sw/source/core/access/AccessibilityIssue.cxx b/sw/source/core/access/AccessibilityIssue.cxx index 731930a9500e..6ec39238cda9 100644 --- a/sw/source/core/access/AccessibilityIssue.cxx +++ b/sw/source/core/access/AccessibilityIssue.cxx @@ -91,6 +91,8 @@ void AccessibilityIssue::gotoIssue() const case IssueObject::SHAPE: { SwWrtShell* pWrtShell = TempIssueObject.m_pDoc->GetDocShell()->GetWrtShell(); + if (pWrtShell->IsFrameSelected()) + pWrtShell->LeaveSelFrameMode(); pWrtShell->GotoDrawingObject(TempIssueObject.m_sObjectID); if (comphelper::LibreOfficeKit::isActive()) pWrtShell->ShowCursor();