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

New commits:
commit 63ccc97e1699d90da2532e4294cdaff670ad1a3f
Author:     Samuel Mehrbrodt <[email protected]>
AuthorDate: Tue Jul 30 11:18:45 2019 +0200
Commit:     Adolfo Jayme Barrientos <[email protected]>
CommitDate: Tue Jul 30 19:38:31 2019 +0200

    tdf#126508 Fix crash when changing icon style
    
    Regression from b58aa94f1f365c746135470bceb97cc182c289bc
    
    Change-Id: I253447c197d8b333e26f243e26794e775f3edcee
    Reviewed-on: https://gerrit.libreoffice.org/76590
    Tested-by: Jenkins
    Reviewed-by: Xisco Faulí <[email protected]>
    (cherry picked from commit 857f68d68b3d0092f109845cfd93482871a0793d)
    Reviewed-on: https://gerrit.libreoffice.org/76613
    Reviewed-by: Julien Nabet <[email protected]>
    Reviewed-by: Adolfo Jayme Barrientos <[email protected]>
    Tested-by: Adolfo Jayme Barrientos <[email protected]>

diff --git a/sfx2/source/sidebar/SidebarController.cxx 
b/sfx2/source/sidebar/SidebarController.cxx
index 24660ef3dc2f..fce4732706b5 100644
--- a/sfx2/source/sidebar/SidebarController.cxx
+++ b/sfx2/source/sidebar/SidebarController.cxx
@@ -681,6 +681,8 @@ void SidebarController::SwitchToDeck (
     const DeckDescriptor& rDeckDescriptor,
     const Context& rContext)
 {
+    maFocusManager.Clear();
+
     const bool bForceNewDeck 
((mnRequestedForceFlags&SwitchFlag_ForceNewDeck)!=0);
     const bool bForceNewPanels 
((mnRequestedForceFlags&SwitchFlag_ForceNewPanels)!=0);
     mnRequestedForceFlags = SwitchFlag_NoForce;
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to