[Libreoffice-commits] core.git: Branch 'libreoffice-7-1' - sfx2/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Tue Dec 1 15:38:50 UTC 2020


 sfx2/source/sidebar/SidebarController.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 33ca9483169c6e1f9675893dcfbd62cdda36f1b4
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: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 <caolanm at 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);


More information about the Libreoffice-commits mailing list