diff options
author | Jim Raykowski <raykowj@gmail.com> | 2018-08-27 13:02:22 -0800 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-08-29 16:39:42 +0200 |
commit | 9ee057d06f3d27ce3b4e92b76d070fbe75204a41 (patch) | |
tree | 5d6faa015a901b0f57a38be350068799a89da592 /sfx2 | |
parent | 2c92b886b7538c4786a4d9a33cbcfe694daf1f62 (diff) |
tdf#119527 Fix focus hidden by mouse click panel collapse
Set focus to the clicked panel title
Change-Id: I65993a6a2f8e7a9a2bdaa6cf4527d5b163d81409
Reviewed-on: https://gerrit.libreoffice.org/59694
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/sidebar/PanelTitleBar.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sfx2/source/sidebar/PanelTitleBar.cxx b/sfx2/source/sidebar/PanelTitleBar.cxx index ce5a3683fb88..d20427a2ca6d 100644 --- a/sfx2/source/sidebar/PanelTitleBar.cxx +++ b/sfx2/source/sidebar/PanelTitleBar.cxx @@ -183,6 +183,7 @@ void PanelTitleBar::MouseButtonUp (const MouseEvent& rMouseEvent) { mpPanel->SetExpanded( ! mpPanel->IsExpanded()); Invalidate(); + GrabFocus(); } } } |