[Libreoffice-commits] core.git: sfx2/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Oct 31 20:12:44 UTC 2018
sfx2/source/sidebar/SidebarController.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 4f1903a08917804602040cd5f0652c2983db9e22
Author: Jim Raykowski <raykowj at gmail.com>
AuthorDate: Tue Oct 30 16:04:24 2018 -0800
Commit: Jim Raykowski <raykowj at gmail.com>
CommitDate: Wed Oct 31 21:12:21 2018 +0100
tdf#119630 Fix lost focus in Sidebar menu
Focus to document after deck selection or customization from the sidebar
menu.
Change-Id: I315fecfe7bfaedf4c751b1c240e08b80daa77221
Reviewed-on: https://gerrit.libreoffice.org/62677
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 f39ed4e7d945..82f4eceebd28 100644
--- a/sfx2/source/sidebar/SidebarController.cxx
+++ b/sfx2/source/sidebar/SidebarController.cxx
@@ -1096,7 +1096,9 @@ IMPL_LINK(SidebarController, OnMenuItemSelected, Menu*, pMenu, bool)
mxFrame->getController());
// Notify the tab bar about the updated set of decks.
mpTabBar->SetDecks(aDecks);
+ mpTabBar->HighlightDeck(mpCurrentDeck->GetId());
}
+ mpParentWindow->GrabFocusToDocument();
}
catch (RuntimeException&)
{
More information about the Libreoffice-commits
mailing list