| 541 | } |
| 542 | |
| 543 | void XYFitCurveDock::xErrorColumnChanged(const QModelIndex& index) { |
| 544 | CONDITIONAL_LOCK_RETURN; |
| 545 | |
| 546 | auto* aspect = static_cast<AbstractAspect*>(index.internalPointer()); |
| 547 | auto* column = dynamic_cast<AbstractColumn*>(aspect); |
| 548 | |
| 549 | for (auto* curve : m_curvesList) |
| 550 | static_cast<XYFitCurve*>(curve)->setXErrorColumn(column); |
| 551 | |
| 552 | cbXErrorColumn->setInvalid(false); |
| 553 | } |
| 554 | |
| 555 | void XYFitCurveDock::yErrorColumnChanged(const QModelIndex& index) { |
| 556 | CONDITIONAL_LOCK_RETURN; |
nothing calls this directly
no test coverage detected