Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Commit

Permalink
Fix confirm box in calibration stage
Browse files Browse the repository at this point in the history
  • Loading branch information
carlthome committed May 6, 2014
1 parent 0f857c7 commit f6683db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion EyePaint/CalibrationControl.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}

Expand Down

0 comments on commit f6683db

Please sign in to comment.