From ecd6753dc7fb398ae8283dc9c87b35d85f2982c0 Mon Sep 17 00:00:00 2001 From: jpark37 Date: Sun, 8 Dec 2019 14:43:23 -0800 Subject: [PATCH] UI: Allow switch to existing theme to reload This is useful for people modifying the currently selected theme. --- UI/window-basic-settings.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/UI/window-basic-settings.cpp b/UI/window-basic-settings.cpp index 85d78f4e0..04d25a6b1 100644 --- a/UI/window-basic-settings.cpp +++ b/UI/window-basic-settings.cpp @@ -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()