[Libreoffice-commits] core.git: svx/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Fri Sep 25 20:07:22 UTC 2020


 svx/source/tbxctrls/tbunosearchcontrollers.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit a8c218a52a639b0e7f689dea878a0421702628e0
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Sep 25 13:18:43 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Sep 25 22:06:45 2020 +0200

    tdf#136941 call focus in handler explicitly
    
    Change-Id: I64a6a9867aa34427caeaee3d6835b1fd2da35c1c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103394
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/svx/source/tbxctrls/tbunosearchcontrollers.cxx b/svx/source/tbxctrls/tbunosearchcontrollers.cxx
index a86739988185..20430681de7a 100644
--- a/svx/source/tbxctrls/tbunosearchcontrollers.cxx
+++ b/svx/source/tbxctrls/tbunosearchcontrollers.cxx
@@ -399,7 +399,10 @@ void FindTextFieldControl::set_entry_message_type(weld::EntryMessageType eType)
 void FindTextFieldControl::GetFocus()
 {
     if (m_xWidget)
+    {
         m_xWidget->grab_focus();
+        FocusInHdl(*m_xWidget);
+    }
     InterimItemWindow::GetFocus();
 }
 


More information about the Libreoffice-commits mailing list