[EXPLORER] trayclock: Update timer delay when showing seconds is modified

This commit is contained in:
Serge Gautherie 2020-01-24 14:47:58 +01:00 committed by Giannis Adamopoulos
parent e68bee7518
commit 96b7cb1a4f

View file

@ -696,7 +696,12 @@ LRESULT CTrayClockWnd::OnTaskbarSettingsChanged(UINT uMsg, WPARAM wParam, LPARAM
if (newSettings->bShowSeconds != g_TaskbarSettings.bShowSeconds)
{
g_TaskbarSettings.bShowSeconds = newSettings->bShowSeconds;
bRealign = TRUE;
if (!g_TaskbarSettings.sr.HideClock)
{
bRealign = TRUE;
ResetTime();
}
}
if (newSettings->sr.HideClock != g_TaskbarSettings.sr.HideClock)