Kaydet (Commit) 4f1903a0 authored tarafından Jim Raykowski's avatar Jim Raykowski

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: 's avatarJim Raykowski <raykowj@gmail.com>
üst 72ec2c80
......@@ -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&)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment