[Libreoffice-commits] core.git: sfx2/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Aug 29 14:40:10 UTC 2018
sfx2/source/sidebar/PanelTitleBar.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 9ee057d06f3d27ce3b4e92b76d070fbe75204a41
Author: Jim Raykowski <raykowj at gmail.com>
AuthorDate: Mon Aug 27 13:02:22 2018 -0800
Commit: Caolán McNamara <caolanm at 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 <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at 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();
}
}
}
More information about the Libreoffice-commits
mailing list