We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f398b63 commit 4dc2299Copy full SHA for 4dc2299
1 file changed
src/ShutdownTimer/Menu.cs
@@ -194,10 +194,10 @@ private void StartButton_Click(object sender, EventArgs e)
194
errMessages += "Please select a valid action from the dropdown menu!\n\n";
195
}
196
197
- // Check if all time values are zero
198
- if (hoursNumericUpDown.Value == 0 && minutesNumericUpDown.Value == 0 && secondsNumericUpDown.Value == 0)
+ // Check if all time values are zero when in countdown mode
+ if (hoursNumericUpDown.Value == 0 && minutesNumericUpDown.Value == 0 && secondsNumericUpDown.Value == 0 && countdownModeRadioButton.Checked)
199
{
200
- errMessages += "The timer cannot start at 0!\n\n";
+ errMessages += "The timer cannot start at 0 when in countdown mode!\n\n";
201
202
203
// Respective check for either countdown or timeOfDay mode
0 commit comments