diff --git a/mailnews/base/src/nsMessengerWinIntegration.cpp b/mailnews/base/src/nsMessengerWinIntegration.cpp index c8f5b9cb09..d6d1207ef1 100644 --- a/mailnews/base/src/nsMessengerWinIntegration.cpp +++ b/mailnews/base/src/nsMessengerWinIntegration.cpp @@ -166,6 +166,10 @@ nsresult nsMessengerWinIntegration::HideWindow(nsIBaseWindow* aWindow) { aWindow->SetVisibility(false); sHiddenWindows.AppendElement(aWindow); + nsresult rv; + rv = CreateIconWindow(); + NS_ENSURE_SUCCESS(rv, rv); + if (!mTrayIconShown) { auto idi = IDI_APPLICATION; if (sUnreadCount > 0) {