diff --git a/EyePaint/CalibrationControl.xaml.cs b/EyePaint/CalibrationControl.xaml.cs index 66f74ca..d83d2c2 100644 --- a/EyePaint/CalibrationControl.xaml.cs +++ b/EyePaint/CalibrationControl.xaml.cs @@ -77,7 +77,8 @@ void stopScan() { Window confirmBox = new ConfirmBox("Kalibreringen blev dålig. Gör om?"); confirmBox.ShowDialog(); - if (confirmBox.DialogResult.HasValue && confirmBox.DialogResult.Value) startCalibration(); + if (confirmBox.DialogResult.Value) startCalibration(); + else stopCalibration(); } }