cui/source/options/optgdlg.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit a2f0d457c8addeeef768a93f6a174617094a0254
Author:     Gabor Kelemen <kelem...@ubuntu.com>
AuthorDate: Mon Nov 1 19:14:06 2021 +0100
Commit:     Andras Timar <andras.ti...@collabora.com>
CommitDate: Mon Nov 8 09:45:15 2021 +0100

    tdf#145128 "Perform file extension check" should be disabled if finalized
    
    Change-Id: I7181ab8dde28fd5580a90fb267b31eaffd6a9878
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124567
    Tested-by: Jenkins
    Reviewed-by: Andras Timar <andras.ti...@collabora.com>

diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index 5e010bff340d..43b529a82718 100644
--- a/cui/source/options/optgdlg.cxx
+++ b/cui/source/options/optgdlg.cxx
@@ -327,6 +327,7 @@ void OfaMiscTabPage::Reset( const SfxItemSet* rSet )
     m_xPerformFileExtCheck->set_active(
         officecfg::Office::Common::Misc::PerformFileExtCheck::get());
     m_xPerformFileExtCheck->save_state();
+    
m_xPerformFileExtCheck->set_sensitive(!officecfg::Office::Common::Misc::PerformFileExtCheck::isReadOnly());
 #endif
 }
 

Reply via email to