! called when the type of the values (none, x, y, (x,y) etc.) was changed. */
| 625 | called when the type of the values (none, x, y, (x,y) etc.) was changed. |
| 626 | */ |
| 627 | void XYCurveDock::valuesTypeChanged(int index) { |
| 628 | this->updateValuesWidgets(); |
| 629 | |
| 630 | CONDITIONAL_LOCK_RETURN; |
| 631 | |
| 632 | const auto type = XYCurve::ValuesType(index); |
| 633 | for (auto* curve : m_curvesList) |
| 634 | curve->setValuesType(type); |
| 635 | } |
| 636 | |
| 637 | /*! |
| 638 | called when the custom column for the values was changed. |
nothing calls this directly
no test coverage detected