[Libreoffice-commits] core.git: cui/source
Andras Timar
andras.timar at collabora.com
Fri Sep 9 10:47:49 UTC 2016
cui/source/options/optgdlg.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit f4fcec5f0802620192c31aad24db436ead1b2036
Author: Andras Timar <andras.timar at collabora.com>
Date: Fri Sep 9 10:41:45 2016 +0200
handle read-only state of collect usage information setting
Change-Id: I0f612cc39636dd3e2a829b7a6c8dc2a0a5a4b530
Reviewed-on: https://gerrit.libreoffice.org/28763
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index 0058b32..0371321 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();
}
More information about the Libreoffice-commits
mailing list