Fix issue #553: take metricDetail->fillCurve from the checkbox state
rather than using the pointer.