From 45ffc487538033a09c4c896293ec83434c65ecca Mon Sep 17 00:00:00 2001 From: HaibaraAi Date: Fri, 22 May 2020 16:30:45 +0800 Subject: [PATCH] File Explorer crash NotifyIcon disappear The Icon is gone, _added will be false, then add icon can be called --- src/Shared/HandyControl_Shared/Controls/Other/NotifyIcon.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Shared/HandyControl_Shared/Controls/Other/NotifyIcon.cs b/src/Shared/HandyControl_Shared/Controls/Other/NotifyIcon.cs index 592f3313..02ca4633 100644 --- a/src/Shared/HandyControl_Shared/Controls/Other/NotifyIcon.cs +++ b/src/Shared/HandyControl_Shared/Controls/Other/NotifyIcon.cs @@ -574,6 +574,7 @@ namespace HandyControl.Controls { if (msg == _wmTaskbarCreated) { + _added = false; UpdateIcon(true); } else