sfx2/source/sidebar/SidebarController.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit 33ca9483169c6e1f9675893dcfbd62cdda36f1b4 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Tue Dec 1 12:24:20 2020 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Tue Dec 1 16:38:07 2020 +0100 Resolves: tdf#138417 crash on customize sidebar Change-Id: Icbb08b44e7f8729704d8278378a259fecb9bee4d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106944 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx index f359e768665e..5b13e599afb1 100644 --- a/sfx2/source/sidebar/SidebarController.cxx +++ b/sfx2/source/sidebar/SidebarController.cxx @@ -1182,6 +1182,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); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits