From a5e5287954410e82f5bb146b7c58474be8ee4e89 Mon Sep 17 00:00:00 2001 From: Valentin Radu Date: Sat, 18 Mar 2023 22:31:17 +0200 Subject: [PATCH] Weather: Fixed a bug that prevented the widget from displaying correctly --- ep_weather_host/ep_weather_host.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ep_weather_host/ep_weather_host.c b/ep_weather_host/ep_weather_host.c index cf4c5ee7c..53b6d0192 100644 --- a/ep_weather_host/ep_weather_host.c +++ b/ep_weather_host/ep_weather_host.c @@ -572,8 +572,8 @@ HRESULT STDMETHODCALLTYPE ICoreWebView2_NavigationCompleted(GenericObjectWithThi } else { - _epw_Weather_ExecuteDataScript(_this); - //SetTimer(_this->hWnd, EP_WEATHER_TIMER_EXECUTEDATASCRIPT, EP_WEATHER_TIMER_EXECUTEDATASCRIPT_DELAY, NULL); + //_epw_Weather_ExecuteDataScript(_this); + SetTimer(_this->hWnd, EP_WEATHER_TIMER_EXECUTEDATASCRIPT, EP_WEATHER_TIMER_EXECUTEDATASCRIPT_DELAY, NULL); } } else