summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Controls
diff options
context:
space:
mode:
authorsr55 <[email protected]>2018-09-18 19:59:12 +0100
committersr55 <[email protected]>2018-09-18 20:08:40 +0100
commitb128aa8701149c2058f242960578f26a4199d018 (patch)
tree906be0725d29b06ec234716405051e9f5e05abd1 /win/CS/HandBrakeWPF/Controls
parent1d109f9120ba8e7886fdcdaf473273ee0db9999b (diff)
WinGui: Fix a bug in the Number Box control #1598
Diffstat (limited to 'win/CS/HandBrakeWPF/Controls')
-rw-r--r--win/CS/HandBrakeWPF/Controls/NumberBox.xaml.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/Controls/NumberBox.xaml.cs b/win/CS/HandBrakeWPF/Controls/NumberBox.xaml.cs
index 1de00800f..477e79c37 100644
--- a/win/CS/HandBrakeWPF/Controls/NumberBox.xaml.cs
+++ b/win/CS/HandBrakeWPF/Controls/NumberBox.xaml.cs
@@ -340,7 +340,7 @@ namespace HandBrakeWPF.Controls
/// </param>
private void DownButtonMouseLeftButtonUp(object sender, MouseButtonEventArgs e)
{
- this.refireControl.Stop();
+ this.refireControl?.Stop();
}
/// <summary>
@@ -616,7 +616,7 @@ namespace HandBrakeWPF.Controls
/// </param>
private void UpButtonMouseLeftButtonUp(object sender, MouseButtonEventArgs e)
{
- this.refireControl.Stop();
+ this.refireControl?.Stop();
}
/// <summary>