Kaydet (Commit) 41a780a5 authored tarafından Gabor Kelemen's avatar Gabor Kelemen Kaydeden (comit) Andras Timar

tdf#118452 Don't crash when multi thread calculation is disabled

...by default configuration.

Change-Id: If6075ae66537f613434dd38766324436f2426517
Reviewed-on: https://gerrit.libreoffice.org/56840
Tested-by: Jenkins
Reviewed-by: 's avatarAndras Timar <andras.timar@collabora.com>
(cherry picked from commit e119194a)
Reviewed-on: https://gerrit.libreoffice.org/56856
üst f066b54f
...@@ -183,7 +183,7 @@ void ScTpCalcOptions::Reset( const SfxItemSet* /* rCoreAttrs */ ) ...@@ -183,7 +183,7 @@ void ScTpCalcOptions::Reset( const SfxItemSet* /* rCoreAttrs */ )
m_pEdPrec->SetValue(nPrec); m_pEdPrec->SetValue(nPrec);
} }
m_pBtnThread->Enable(); m_pBtnThread->Enable( !officecfg::Office::Calc::Formula::Calculation::UseThreadedCalculationForFormulaGroups::isReadOnly() );
m_pBtnThread->Check( officecfg::Office::Calc::Formula::Calculation::UseThreadedCalculationForFormulaGroups::get() ); m_pBtnThread->Check( officecfg::Office::Calc::Formula::Calculation::UseThreadedCalculationForFormulaGroups::get() );
CheckClickHdl(m_pBtnIterate); CheckClickHdl(m_pBtnIterate);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment