From f72fd3c9e31259cb98c4c9607323db975a6c56eb Mon Sep 17 00:00:00 2001 From: jp9000 Date: Thu, 23 Feb 2017 00:43:20 -0800 Subject: [PATCH] UI: Trigger scene list change event when scene removed --- UI/window-basic-main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/UI/window-basic-main.cpp b/UI/window-basic-main.cpp index 8a87a7c64..976e24ece 100644 --- a/UI/window-basic-main.cpp +++ b/UI/window-basic-main.cpp @@ -1918,6 +1918,9 @@ void OBSBasic::RemoveScene(OBSSource source) blog(LOG_INFO, "User Removed scene '%s'", obs_source_get_name(source)); } + + if (api) + api->on_event(OBS_FRONTEND_EVENT_SCENE_LIST_CHANGED); } void OBSBasic::AddSceneItem(OBSSceneItem item) -- GitLab