diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2021-11-01 19:14:06 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2021-11-08 09:45:15 +0100 |
commit | a2f0d457c8addeeef768a93f6a174617094a0254 (patch) | |
tree | c625427781876e682732c92aa5c8b6992a5c363c /cui/source | |
parent | 6680e51716e383c68bb1ec9cc0a05d698d3b6a3d (diff) |
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.timar@collabora.com>
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/options/optgdlg.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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 } |