Skip to content

Commit

Permalink
numeric box: add nullcheck in preview mouse up
Browse files Browse the repository at this point in the history
  • Loading branch information
Sora-yx committed Oct 14, 2024
1 parent 6b26f88 commit 05f4637
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SA-Mod-Manager/Controls/NumberBox.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ private void Spinner_PreviewMouseDown(object sender, MouseButtonEventArgs e)

private void Spinner_PreviewMouseUp(object sender, MouseButtonEventArgs e)
{
timer.Stop();
timer?.Stop();
}
#endregion

Expand Down

0 comments on commit 05f4637

Please sign in to comment.