UI: Fix deferred source properties not updating

master
jp9000 2022-03-09 13:10:24 -08:00
parent e5f57a1e03
commit 89881147c7
1 changed files with 4 additions and 1 deletions

View File

@ -188,7 +188,10 @@ public:
inline void UpdateSettings()
{
callback(OBSGetStrongRef(weakObj), nullptr, settings);
if (callback)
callback(OBSGetStrongRef(weakObj), nullptr, settings);
else if (visUpdateCb)
visUpdateCb(OBSGetStrongRef(weakObj), settings);
}
inline bool DeferUpdate() const { return deferUpdate; }