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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user