[Libreoffice-commits] core.git: sfx2/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Aug 30 10:01:50 UTC 2018


 sfx2/source/sidebar/FocusManager.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 897d64a5370770f526d7709f8b27096407f06e1c
Author:     Jim Raykowski <raykowj at gmail.com>
AuthorDate: Mon Aug 27 18:12:54 2018 -0800
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Aug 30 12:01:26 2018 +0200

    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 at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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:


More information about the Libreoffice-commits mailing list