0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 04:42:18 +02:00

UI: Allow switch to existing theme to reload

This is useful for people modifying the currently selected theme.
This commit is contained in:
jpark37 2019-12-08 14:43:23 -08:00
parent 06f14edf08
commit ecd6753dc7

View File

@ -3509,8 +3509,7 @@ void OBSBasicSettings::on_theme_activated(int idx)
if (currT == defaultTheme)
currT = DEFAULT_THEME;
if (currT != App()->GetTheme())
App()->SetTheme(currT.toUtf8().constData());
App()->SetTheme(currT.toUtf8().constData());
}
void OBSBasicSettings::on_listWidget_itemSelectionChanged()