diff options
Diffstat (limited to 'sfx2/source/sidebar/SidebarController.cxx')
-rw-r--r-- | sfx2/source/sidebar/SidebarController.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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&) { |