Changed the message notification for system color change.

This commit is contained in:
okrc 2022-10-07 17:51:27 +08:00
parent 95e74dfd13
commit 4028b64fcc
No known key found for this signature in database
GPG Key ID: 7BFFDD3B3BF40F01
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ public:
{ {
}*/ }*/
} }
else if (msg->message == WM_DWMCOLORIZATIONCOLORCHANGED) else if (msg->message == WM_SETTINGCHANGE)
{ {
if (theGUI && theConf->GetInt("Options/UseDarkTheme", 2) == 2) if (theGUI && theConf->GetInt("Options/UseDarkTheme", 2) == 2)
theGUI->UpdateTheme(); theGUI->UpdateTheme();