diff options
author | Jim Raykowski <raykowj@gmail.com> | 2024-08-26 16:47:03 -0800 |
---|---|---|
committer | Jim Raykowski <raykowj@gmail.com> | 2024-08-27 07:06:20 +0200 |
commit | d80363beb10fd43045913bb4b54268b1df26737a (patch) | |
tree | 92836c00f98bc25e8ce3ebbc6af37194e6cdff6d /sfx2 | |
parent | 715b5c430e14609b15d18a5a607f13b9476b3c2d (diff) |
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 <raykowj@gmail.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/sidebar/TabBar.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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; |