UI: Load theme palette before loading theme

This ensures the theme loads its own palette colours rather than default.
master
Matt Gajownik 2021-08-01 12:38:50 +10:00 committed by Jim
parent cb317f2b3b
commit 58caf406cd
1 changed files with 1 additions and 1 deletions

View File

@ -1111,8 +1111,8 @@ bool OBSApp::SetTheme(std::string name, std::string path)
QString mpath = QString("file:///") + path.c_str();
setPalette(defaultPalette);
setStyleSheet(mpath);
ParseExtraThemeData(path.c_str());
setStyleSheet(mpath);
emit StyleChanged();
return true;