diff options
Diffstat (limited to 'win')
-rw-r--r-- | win/CS/HandBrakeWPF/Services/NotifyIconService.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Services/NotifyIconService.cs b/win/CS/HandBrakeWPF/Services/NotifyIconService.cs index 2319f93bc..df28b6314 100644 --- a/win/CS/HandBrakeWPF/Services/NotifyIconService.cs +++ b/win/CS/HandBrakeWPF/Services/NotifyIconService.cs @@ -19,7 +19,10 @@ namespace HandBrakeWPF.Services public void SetTooltip(string text) { - this.notifyIcon.Text = text; + if (this.notifyIcon != null) + { + this.notifyIcon.Text = text; + } } } } |