diff options
author | Jim Raykowski <raykowj@gmail.com> | 2018-08-27 18:12:54 -0800 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-08-30 12:01:26 +0200 |
commit | 897d64a5370770f526d7709f8b27096407f06e1c (patch) | |
tree | 7e17c47e16a708c00288c3d4cf273e46a9315fe6 /sfx2 | |
parent | fbb2d771681709e84444d40f844d16e9a487a813 (diff) |
Update sidebar panel title decoration expand/collapse bitmap
...when panel title has focus and space key is pressed
Fixes sidebar panel title decoration expand/collapse bitmap not updating
when keyboard space key is pressed. This has been present since at least
ver 5.1.6.2. Seems trival enough to not have go through the report
process. May be why I could find no bug report for it :-)
Change-Id: I7c0dfe511a780eb2bdc5ab8d1064549645cc30ae
Reviewed-on: https://gerrit.libreoffice.org/59680
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/FocusManager.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sfx2/source/sidebar/FocusManager.cxx b/sfx2/source/sidebar/FocusManager.cxx index 6218efd88679..84c6b60f1ebf 100644 --- a/sfx2/source/sidebar/FocusManager.cxx +++ b/sfx2/source/sidebar/FocusManager.cxx @@ -390,6 +390,7 @@ void FocusManager::HandleKeyEvent ( case PC_PanelTitle: // Toggle panel between expanded and collapsed. maPanels[aLocation.mnIndex]->SetExpanded( ! maPanels[aLocation.mnIndex]->IsExpanded()); + maPanels[aLocation.mnIndex]->GetTitleBar().get()->Invalidate(); break; default: |