|
@@ -1117,6 +1117,7 @@ bool OBSApp::SetTheme(std::string name, std::string path)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ setStyleSheet(defaultStyleSheet);
|
|
|
QString mpath = QString("file:///") + path.c_str();
|
|
|
setPalette(defaultPalette);
|
|
|
ParseExtraThemeData(path.c_str());
|
|
@@ -1132,6 +1133,7 @@ bool OBSApp::SetTheme(std::string name, std::string path)
|
|
|
bool OBSApp::InitTheme()
|
|
|
{
|
|
|
defaultPalette = palette();
|
|
|
+ defaultStyleSheet = styleSheet();
|
|
|
|
|
|
const char *themeName =
|
|
|
config_get_string(globalConfig, "General", "CurrentTheme2");
|