1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-20 10:54:14 +01:00

OP-1351 made sure that progress bar won't show 100% when calibration failed

This commit is contained in:
Philippe Renon 2014-06-01 17:20:17 +02:00
parent 99444babeb
commit b13e5548c1

View File

@ -470,6 +470,7 @@ void SixPointCalibrationModel::compute()
}
displayInstructions(tr("Sensor scale and bias computed successfully."), WizardModel::Success);
} else {
progressChanged(0);
displayInstructions(tr("Failed to calibrate! Please review the instructions and repeat."), WizardModel::Failure);
}
// set to run again