[Libreoffice-commits] core.git: sfx2/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Dec 3 07:44:43 UTC 2018
sfx2/source/sidebar/SidebarController.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit f3a19b124754d5506d047dabd5750b9e650bbb0a
Author: Jim Raykowski <raykowj at gmail.com>
AuthorDate: Sat Nov 3 15:12:32 2018 -0800
Commit: Jim Raykowski <raykowj at gmail.com>
CommitDate: Mon Dec 3 08:44:22 2018 +0100
Fix undocking sidebar with tab bar menu undock locks focus
Missed this in
I91194db3cc23a24e805a90edaf1566f950ac129d
Change-Id: I9a9bb3cb47b19929577f4ee36206ea1c052adeca
Reviewed-on: https://gerrit.libreoffice.org/62833
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj at gmail.com>
diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx
index f56534d02f46..46d03ba097b0 100644
--- a/sfx2/source/sidebar/SidebarController.cxx
+++ b/sfx2/source/sidebar/SidebarController.cxx
@@ -1046,6 +1046,8 @@ IMPL_LINK(SidebarController, OnMenuItemSelected, Menu*, pMenu, bool)
{
case MID_UNLOCK_TASK_PANEL:
mpParentWindow->SetFloatingMode(true);
+ if (mpParentWindow->IsFloatingMode())
+ mpParentWindow->ToTop(ToTopFlags::GrabFocusOnly);
break;
case MID_LOCK_TASK_PANEL:
More information about the Libreoffice-commits
mailing list