diff --git a/Software/PC_Application/LibreVNA-GUI/Calibration/calibration.cpp b/Software/PC_Application/LibreVNA-GUI/Calibration/calibration.cpp index 5ed77687..3c27bb02 100644 --- a/Software/PC_Application/LibreVNA-GUI/Calibration/calibration.cpp +++ b/Software/PC_Application/LibreVNA-GUI/Calibration/calibration.cpp @@ -620,6 +620,15 @@ void Calibration::edit() connect(this, &Calibration::measurementsUpdated, d, [=](){ updateMeasurementTable(); updateCalibrationList(); + if(caltype.type != Type::None) { + // update the calibration with the new measurement + if(canCompute(caltype)) { + compute(caltype); + } else { + // can not keep the calibration, disabled + deactivate(); + } + } }); connect(ui->clearMeasurement, &QPushButton::clicked, [=](){