diff options
author | Andras Timar <andras.timar@collabora.com> | 2016-09-09 10:41:45 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-09-09 10:47:22 +0000 |
commit | f4fcec5f0802620192c31aad24db436ead1b2036 (patch) | |
tree | 78e30537446967eaf22a4175e80f538df35160a4 /cui | |
parent | 89d77f9d96bbdb8385a49812c731ebbd8e331912 (diff) |
handle read-only state of collect usage information setting
Change-Id: I0f612cc39636dd3e2a829b7a6c8dc2a0a5a4b530
Reviewed-on: https://gerrit.libreoffice.org/28763
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui')
-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 0058b32e1558..0371321bc041 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -401,6 +401,7 @@ void OfaMiscTabPage::Reset( const SfxItemSet* rSet ) } m_pCollectUsageInfo->Check(officecfg::Office::Common::Misc::CollectUsageInformation::get()); + m_pCollectUsageInfo->Enable(!officecfg::Office::Common::Misc::CollectUsageInformation::isReadOnly()); m_pCollectUsageInfo->SaveValue(); } |