Kaydet (Commit) 886efcad authored tarafından Markus Mohrhard's avatar Markus Mohrhard

enable the opencl device selection also after enabling opencl again

Change-Id: If898125c55794ea542643d0299b02b6183b79ef9
üst fbe35901
...@@ -366,6 +366,10 @@ void ScCalcOptionsDialog::RadioValueChanged() ...@@ -366,6 +366,10 @@ void ScCalcOptionsDialog::RadioValueChanged()
break; break;
case CALC_OPTION_ENABLE_OPENCL: case CALC_OPTION_ENABLE_OPENCL:
maConfig.mbOpenCLEnabled = bValue; maConfig.mbOpenCLEnabled = bValue;
if(bValue)
mpOpenclInfoList->GetParent()->Disable();
else
mpOpenclInfoList->GetParent()->Enable();
break; break;
} }
......
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