Skip to content

Commit

Permalink
Make GetSelectedTimeFromGUI virtual
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethWhite authored and punker76 committed Dec 8, 2023
1 parent 833cf44 commit c6e9256
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MahApps.Metro/Controls/TimePicker/TimePickerBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ private static void SetDefaultTimeOfDayValue(Selector? selector, int? defaultInd
}
}

protected TimeSpan? GetSelectedTimeFromGUI()
protected virtual TimeSpan? GetSelectedTimeFromGUI()
{
if (IsValueSelected(this.hourInput) &&
IsValueSelected(this.minuteInput) &&
Expand Down Expand Up @@ -1197,4 +1197,4 @@ private void TextBox_TextChanged(object sender, TextChangedEventArgs e)
}
}
}
}
}

0 comments on commit c6e9256

Please sign in to comment.