mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2024-11-23 23:21:08 +01:00
Weather: Do not display error page when network connectivity is lost; instead, keep showing cached data from last refresh
This commit is contained in:
parent
da3fece8cd
commit
7c1cb3d560
@ -83,6 +83,7 @@ HRESULT STDMETHODCALLTYPE INetworkListManagerEvents_ConnectivityChanged(void* _t
|
||||
else
|
||||
{
|
||||
printf("[Network Events] Internet connection status is: Offline.\n");
|
||||
KillTimer(_this->hWnd, EP_WEATHER_TIMER_REQUEST_REFRESH);
|
||||
KillTimer(_this->hWnd, EP_WEATHER_TIMER_SCHEDULE_REFRESH);
|
||||
printf("[Network Events] Killed refresh timer.\n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user