UI: Clear undo stack in ClearSceneData() instead

Makes more sense to clear it here.
This commit is contained in:
jp9000 2021-04-09 04:19:01 -07:00
commit e39fa5e902
2 changed files with 2 additions and 2 deletions

View file

@ -554,8 +554,6 @@ void OBSBasic::ChangeSceneCollection()
UpdateTitleBar();
undo_s.clear();
if (api)
api->on_event(OBS_FRONTEND_EVENT_SCENE_COLLECTION_CHANGED);
}