diff --git a/UI/obs-app.cpp b/UI/obs-app.cpp index 77e59ea4c..ce106f521 100644 --- a/UI/obs-app.cpp +++ b/UI/obs-app.cpp @@ -994,6 +994,7 @@ bool OBSApp::SetTheme(std::string name, std::string path) setStyleSheet(mpath); ParseExtraThemeData(path.c_str()); + emit StyleChanged(); return true; } diff --git a/UI/obs-app.hpp b/UI/obs-app.hpp index f0b2224cb..9fd7448a4 100644 --- a/UI/obs-app.hpp +++ b/UI/obs-app.hpp @@ -165,6 +165,9 @@ public: { translatorHooks.pop_front(); } + +signals: + void StyleChanged(); }; int GetConfigPath(char *path, size_t size, const char *name);