浏览代码

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()