From: sr55 Date: Tue, 18 Sep 2018 18:59:12 +0000 (+0100) Subject: WinGui: Fix a bug in the Number Box control #1598 X-Git-Tag: 1.2.0~159 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b128aa8701149c2058f242960578f26a4199d018;p=handbrake WinGui: Fix a bug in the Number Box control #1598 --- 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 /// private void DownButtonMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { - this.refireControl.Stop(); + this.refireControl?.Stop(); } /// @@ -616,7 +616,7 @@ namespace HandBrakeWPF.Controls /// private void UpButtonMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { - this.refireControl.Stop(); + this.refireControl?.Stop(); } ///