diff --git a/OSDBase.cs b/OSDBase.cs index 46b066be..ba80df7e 100644 --- a/OSDBase.cs +++ b/OSDBase.cs @@ -1,5 +1,4 @@ -using System.Drawing.Drawing2D; -using System.Drawing.Imaging; +using System.Drawing.Imaging; using System.Runtime.InteropServices; namespace OSD diff --git a/Settings.cs b/Settings.cs index 74764f2a..0deef766 100644 --- a/Settings.cs +++ b/Settings.cs @@ -420,7 +420,13 @@ namespace GHelper fans.LoadFans(); if (notify) { - Program.toast.RunToast(perfName); + try + { + Program.toast.RunToast(perfName); + } catch + { + Debug.WriteLine("Toast error"); + } } }