sfx2/source/sidebar/TabBar.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit d80363beb10fd43045913bb4b54268b1df26737a
Author: Jim Raykowski <[email protected]>
AuthorDate: Mon Aug 26 16:47:03 2024 -0800
Commit: Jim Raykowski <[email protected]>
CommitDate: Tue Aug 27 07:06:20 2024 +0200
Resolves: tdf#120748 Using the mouse wheel to change tabs in the
sidebar tabbar leaves the key input focus in a control that is not
visible
Change-Id: I9d0b85607b660e3059c6cd528528d773bc3b8ef3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172449
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <[email protected]>
diff --git a/sfx2/source/sidebar/TabBar.cxx b/sfx2/source/sidebar/TabBar.cxx
index 9ce9778a711b..eb495f58578b 100644
--- a/sfx2/source/sidebar/TabBar.cxx
+++ b/sfx2/source/sidebar/TabBar.cxx
@@ -218,6 +218,7 @@ bool TabBar::EventNotify(NotifyEvent& rEvent)
try
{
(*pItem)->maDeckActivationFunctor((*pItem)->msDeckId);
+ GrabFocusToDocument();
}
catch(const css::uno::Exception&) {};
return true;