| 470 | } |
| 471 | |
| 472 | void XYDataReductionCurveDock::autoTolerance2Changed() { |
| 473 | const auto autoTolerance2 = (bool)uiGeneralTab.chkAuto2->isChecked(); |
| 474 | m_dataReductionData.autoTolerance2 = autoTolerance2; |
| 475 | |
| 476 | if (autoTolerance2) { |
| 477 | uiGeneralTab.sbTolerance2->setEnabled(false); |
| 478 | updateTolerance2(); |
| 479 | } else |
| 480 | uiGeneralTab.sbTolerance2->setEnabled(true); |
| 481 | } |
| 482 | |
| 483 | void XYDataReductionCurveDock::tolerance2Changed(double value) { |
| 484 | m_dataReductionData.tolerance2 = value; |
no test coverage detected