libobs: Make group subitem add/remove funcs signal refresh

Fixes a bug where the UI would not know that a group had been updated.
This commit is contained in:
jp9000
2020-02-07 16:37:15 -08:00
parent 7c9d227f1e
commit 93e2aa1d00

View File

@@ -2750,6 +2750,8 @@ void obs_sceneitem_group_add_item(obs_sceneitem_t *group, obs_sceneitem_t *item)
/* ------------------------- */
full_unlock(scene);
signal_refresh(scene);
}
void obs_sceneitem_group_remove_item(obs_sceneitem_t *group,
@@ -2786,6 +2788,8 @@ void obs_sceneitem_group_remove_item(obs_sceneitem_t *group,
resize_group(group);
full_unlock(groupscene);
full_unlock(scene);
signal_refresh(scene);
}
static void