sfx2/source/dialog/backingwindow.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit fc03109024041ea00bb62e90975e9a20a3668101
Author:     Heiko Tietze <tietze.he...@gmail.com>
AuthorDate: Wed Jan 3 15:48:13 2024 +0100
Commit:     Heiko Tietze <heiko.tie...@documentfoundation.org>
CommitDate: Thu Jan 4 11:22:50 2024 +0100

    Resolves tdf#158810 - Hide recent actions while in template mode
    
    Change-Id: I7291cc7a634a0507bb240bf417d346e7a50f3c6a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161587
    Tested-by: Jenkins
    Reviewed-by: Heiko Tietze <heiko.tie...@documentfoundation.org>

diff --git a/sfx2/source/dialog/backingwindow.cxx 
b/sfx2/source/dialog/backingwindow.cxx
index 846fa2ffb70e..9e30572d12d3 100644
--- a/sfx2/source/dialog/backingwindow.cxx
+++ b/sfx2/source/dialog/backingwindow.cxx
@@ -593,7 +593,7 @@ IMPL_LINK( BackingWindow, ToggleHdl, weld::Toggleable&, 
rButton, void )
         mxAllRecentThumbnails->GrabFocus();
         mxRecentButton->set_active(true);
         mxTemplateButton->set_active(false);
-        mxActions->set_sensitive(true);
+        mxActions->show();
     }
     else
     {
@@ -604,7 +604,7 @@ IMPL_LINK( BackingWindow, ToggleHdl, weld::Toggleable&, 
rButton, void )
         mxLocalView->GrabFocus();
         mxRecentButton->set_active(false);
         mxTemplateButton->set_active(true);
-        mxActions->set_sensitive(false);
+        mxActions->hide();
     }
     applyFilter();
 }

Reply via email to