From 58caf406cd26613103ec0f4cfea52067a647d71e Mon Sep 17 00:00:00 2001 From: Matt Gajownik Date: Sun, 1 Aug 2021 12:38:50 +1000 Subject: [PATCH] UI: Load theme palette before loading theme This ensures the theme loads its own palette colours rather than default. --- UI/obs-app.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/obs-app.cpp b/UI/obs-app.cpp index a8876a641..dd994c446 100644 --- a/UI/obs-app.cpp +++ b/UI/obs-app.cpp @@ -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;