Преглед на файлове

Merge pull request #2230 from jpark37/allow-theme-reload

UI: Allow switch to existing theme to reload
Jim преди 6 години
родител
ревизия
877b1815c3
променени са 1 файла, в които са добавени 1 реда и са изтрити 2 реда
  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()