mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-14 23:34:08 +00:00
UI: Load theme palette before loading theme
This ensures the theme loads its own palette colours rather than default.
This commit is contained in:
parent
cb317f2b3b
commit
58caf406cd
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue