Skip to content

Commit 45ffc48

Browse files
authored
File Explorer crash NotifyIcon disappear
The Icon is gone, _added will be false, then add icon can be called
1 parent 39b1296 commit 45ffc48

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Shared/HandyControl_Shared/Controls/Other/NotifyIcon.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -574,6 +574,7 @@ private IntPtr Callback(IntPtr hWnd, int msg, IntPtr wparam, IntPtr lparam)
574574
{
575575
if (msg == _wmTaskbarCreated)
576576
{
577+
_added = false;
577578
UpdateIcon(true);
578579
}
579580
else

0 commit comments

Comments
 (0)