mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-19 17:49:14 +00:00
UI: Trigger scene change event on scene collection load
When the program first starts up, or rather when a scene collection is loaded, the frontend API OBS_FRONTEND_EVENT_SCENE_CHANGED event would not get triggered.
This commit is contained in:
parent
4fd43f55fb
commit
518290c404
|
@ -961,6 +961,9 @@ retryScene:
|
|||
LogScenes();
|
||||
|
||||
disableSaving--;
|
||||
|
||||
if (api)
|
||||
api->on_event(OBS_FRONTEND_EVENT_SCENE_CHANGED);
|
||||
}
|
||||
|
||||
#define SERVICE_PATH "service.json"
|
||||
|
|
Loading…
Reference in a new issue