Browse Source

UI: Allow switch to existing theme to reload

This is useful for people modifying the currently selected theme.
jpark37 5 years ago
parent
commit
ecd6753dc7
1 changed files with 1 additions and 2 deletions
  1. 1 2
      UI/window-basic-settings.cpp

+ 1 - 2
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()