[Libreoffice-commits] core.git: sfx2/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Tue Dec 1 15:38:32 UTC 2020
sfx2/source/sidebar/SidebarController.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit f09d21b0428b8d1441a32e27baca945d2101600c
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Dec 1 12:24:20 2020 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Dec 1 16:37:45 2020 +0100
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 at redhat.com>
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);
More information about the Libreoffice-commits
mailing list