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

New commits:
commit 9ee057d06f3d27ce3b4e92b76d070fbe75204a41
Author:     Jim Raykowski <rayk...@gmail.com>
AuthorDate: Mon Aug 27 13:02:22 2018 -0800
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Wed Aug 29 16:39:42 2018 +0200

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

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();
             }
         }
     }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to