summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-10-05 12:41:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2022-10-05 14:54:31 +0200
commit24f231563133ceca55cfca8f7b704db98cd2a923 (patch)
tree71e8066328fd005a8b398e496552f44b58f1918c
parent481a082469802ffce08cd8c110e715260015eb97 (diff)
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 <caolanm@redhat.com>
-rw-r--r--sfx2/source/dialog/backingwindow.cxx2
1 files changed, 1 insertions, 1 deletions
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();