sfx2/source/sidebar/SidebarController.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit f3a19b124754d5506d047dabd5750b9e650bbb0a Author: Jim Raykowski <rayk...@gmail.com> AuthorDate: Sat Nov 3 15:12:32 2018 -0800 Commit: Jim Raykowski <rayk...@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 <rayk...@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: _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits