| 454 | } |
| 455 | |
| 456 | void XYDataReductionCurveDock::autoToleranceChanged() { |
| 457 | const auto autoTolerance = (bool)uiGeneralTab.chkAuto->isChecked(); |
| 458 | m_dataReductionData.autoTolerance = autoTolerance; |
| 459 | |
| 460 | if (autoTolerance) { |
| 461 | uiGeneralTab.sbTolerance->setEnabled(false); |
| 462 | updateTolerance(); |
| 463 | } else |
| 464 | uiGeneralTab.sbTolerance->setEnabled(true); |
| 465 | } |
| 466 | |
| 467 | void XYDataReductionCurveDock::toleranceChanged(double value) { |
| 468 | m_dataReductionData.tolerance = value; |
no test coverage detected