diff --git a/Source/WindowStuff.cpp b/Source/WindowStuff.cpp index 7a3e8f53..07fb5eda 100644 --- a/Source/WindowStuff.cpp +++ b/Source/WindowStuff.cpp @@ -2982,8 +2982,11 @@ LRESULT CALLBACK OBS::OBSProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lPa default: if (App && message == App->wmExplorerRestarted) { - App->bNotificationAreaIcon = false; - App->ShowNotificationAreaIcon(); + if(App->bNotificationAreaIcon) + { + App->bNotificationAreaIcon = false; + App->ShowNotificationAreaIcon(); + } } return DefWindowProc(hwnd, message, wParam, lParam); }