| commit | 45cefedbc633fc315972a1fcfae43f79230703a0 | [log] |
|---|---|---|
| author | Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> | Mon May 15 16:01:50 2023 +0200 |
| committer | Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> | Mon May 15 21:21:24 2023 +0200 |
| tree | 8be8173561c4f3bbc18e1422d9bc2a43ae3e6e6b | |
| parent | 168528094262f59aa5862dfb396ee4d95a989394 [diff] |
tdf#142978 Grab focus to document when clicking "Go to" button Change-Id: Id671c0f2e31435a09f6945d5065384cae49c37c2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151790 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
diff --git a/sw/source/core/access/AccessibilityIssue.cxx b/sw/source/core/access/AccessibilityIssue.cxx index 3555e0ae..300f42e 100644 --- a/sw/source/core/access/AccessibilityIssue.cxx +++ b/sw/source/core/access/AccessibilityIssue.cxx
@@ -10,9 +10,11 @@ #include <AccessibilityIssue.hxx> #include <AccessibilityCheckStrings.hrc> #include <edtwin.hxx> #include <swtypes.hxx> #include <wrtsh.hxx> #include <docsh.hxx> #include <view.hxx> #include <comphelper/lok.hxx> #include <cui/dlgname.hxx> @@ -85,6 +87,7 @@ void AccessibilityIssue::gotoIssue() const default: break; } m_pDoc->GetDocShell()->GetView()->GetEditWin().GrabFocus(); } bool AccessibilityIssue::canQuickFixIssue() const