sc/source/ui/app/inputhdl.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 65738d67321bbe2aedd67edd5a43b3f3ed7bf960
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Thu Jun 9 12:46:49 2022 +0100
Commit:     Adolfo Jayme Barrientos <fit...@ubuntu.com>
CommitDate: Fri Jun 10 07:22:16 2022 +0200

    Resolves: tdf#142368 drop popover on ControlLoseFocus
    
    which is what appears when the Control derived inputbar loses focus
    while the main window losing focus gives WindowLoseFocus
    
    Change-Id: Iae9a2874c3dd513a1a092a18846858f819542370
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135534
    Tested-by: Jenkins
    Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com>

diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index 30f18a075c7c..042fed788ff8 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -1079,14 +1079,14 @@ void ScInputHandler::GetFormulaData()
 IMPL_LINK( ScInputHandler, ShowHideTipVisibleParentListener, VclWindowEvent&, 
rEvent, void )
 {
     if (rEvent.GetId() == VclEventId::ObjectDying || rEvent.GetId() == 
VclEventId::WindowHide
-        || rEvent.GetId() == VclEventId::WindowLoseFocus)
+        || rEvent.GetId() == VclEventId::WindowLoseFocus || rEvent.GetId() == 
VclEventId::ControlLoseFocus)
         HideTip();
 }
 
 IMPL_LINK( ScInputHandler, ShowHideTipVisibleSecParentListener, 
VclWindowEvent&, rEvent, void )
 {
     if (rEvent.GetId() == VclEventId::ObjectDying || rEvent.GetId() == 
VclEventId::WindowHide
-        || rEvent.GetId() == VclEventId::WindowLoseFocus)
+        || rEvent.GetId() == VclEventId::WindowLoseFocus || rEvent.GetId() == 
VclEventId::ControlLoseFocus)
         HideTipBelow();
 }
 

Reply via email to