sfx2/source/dialog/templdlg.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 9f9d74b5deed43ec9d3dd2b082e178fb7cbf53f0
Author:     Mohit Marathe <mohit.mara...@collabora.com>
AuthorDate: Thu Jul 31 20:42:30 2025 +0530
Commit:     Mohit Marathe <mohit.mara...@collabora.com>
CommitDate: Wed Sep 24 15:11:18 2025 +0200

    jsdialog: show "Show previews" checkbox for Styles List
    
    It's a partial revert of:
    commit a83d72ff76d5cec4fc25b9795d698dac9390cb1e
    
    Reason: Now previews are supported
    
    Signed-off-by: Mohit Marathe <mohit.mara...@collabora.com>
    Change-Id: Ifaaa4e2c04525fcd546f331c9ee6edb5a0482c42
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188689
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Szymon Kłos <szymon.k...@collabora.com>
    (cherry picked from commit a7b1265804df6200c0ec2e76862dd0ba761e7396)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191437
    Tested-by: Jenkins

diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index f03c8b78b3ee..bf56e5a2c197 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -256,8 +256,6 @@ 
SfxCommonTemplateDialog_Impl::SfxCommonTemplateDialog_Impl(SfxBindings* pB, weld
 {
     mxFilterLb->set_help_id(HID_TEMPLATE_FILTER);
     
mxPreviewCheckbox->set_active(officecfg::Office::Common::StylesAndFormatting::Preview::get());
-    if (comphelper::LibreOfficeKit::isActive())
-        mxPreviewCheckbox->hide();
 }
 
 void SfxTemplateDialog_Impl::EnableEdit(bool bEnable, StyleList* rStyleList)

Reply via email to