diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-12-01 12:24:20 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-12-01 16:37:45 +0100 |
commit | f09d21b0428b8d1441a32e27baca945d2101600c (patch) | |
tree | ce94ebfae0c8aad5b9a67a73cf858ae81b2734e1 | |
parent | 380e3fdc8a0ca86429ab44669820f09dad1a6fb8 (diff) |
Resolves: tdf#138417 crash on customize sidebar
Change-Id: Icbb08b44e7f8729704d8278378a259fecb9bee4d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106974
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sfx2/source/sidebar/SidebarController.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx index 35fbdf41254d..231524d1af9b 100644 --- a/sfx2/source/sidebar/SidebarController.cxx +++ b/sfx2/source/sidebar/SidebarController.cxx @@ -1180,6 +1180,7 @@ IMPL_LINK(SidebarController, OnSubMenuItemSelected, const OString&, rCurItemId, IsDocumentReadOnly(), mxFrame->getController()); // Notify the tab bar about the updated set of decks. + maFocusManager.Clear(); mpTabBar->SetDecks(aDecks); mpTabBar->HighlightDeck(mpCurrentDeck->GetId()); mpTabBar->UpdateFocusManager(maFocusManager); |