sfx2/source/dialog/backingwindow.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 24f231563133ceca55cfca8f7b704db98cd2a923
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Wed Oct 5 12:41:30 2022 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Wed Oct 5 14:54:31 2022 +0200

    toggle state regardless of which toggle was used
    
    Change-Id: I43c295e2cc39497dba8812f1c9e296068d07a224
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140977
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/sfx2/source/dialog/backingwindow.cxx 
b/sfx2/source/dialog/backingwindow.cxx
index e34e02ec2d40..ba55b7a6569d 100644
--- a/sfx2/source/dialog/backingwindow.cxx
+++ b/sfx2/source/dialog/backingwindow.cxx
@@ -602,7 +602,7 @@ IMPL_LINK( BackingWindow, ToggleHdl, weld::Toggleable&, 
rButton, void )
         mxTemplateButton->set_stack_background();
         mxActions->set_sensitive(true);
     }
-    else if( &rButton == mxTemplateButton.get() )
+    else
     {
         mxAllRecentThumbnails->Hide();
         initializeLocalView();

Reply via email to