| commit | 54fd77a368208cc759024c05b7f1df7eb85d294e | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Mon Nov 16 14:21:48 2020 +0000 |
| committer | Caolán McNamara <caolanm@redhat.com> | Mon Nov 16 21:18:58 2020 +0100 |
| tree | dc8fc9a95fcdf557b5e3a07762ef46aa6f462570 | |
| parent | b92d1d509a1db2179779a4776590734590290a41 [diff] |
tdf#138232 don't grab focus if we already have it Change-Id: I6fe852c87937ea4353822474ae1b7e20c9436f94 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105941 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
diff --git a/svx/source/tbxctrls/tbunosearchcontrollers.cxx b/svx/source/tbxctrls/tbunosearchcontrollers.cxx index 9d38913..a1860ee 100644 --- a/svx/source/tbxctrls/tbunosearchcontrollers.cxx +++ b/svx/source/tbxctrls/tbunosearchcontrollers.cxx
@@ -143,7 +143,7 @@ void impl_executeSearch( const css::uno::Reference< css::uno::XComponentContext if (pItemWin) { sFindText = pItemWin->get_active_text(); if (aFindAll) if (aFindAll && !pItemWin->ControlHasFocus()) pItemWin->GetFocus(); } } else if ( sItemCommand == COMMAND_MATCHCASE )