UI: Clear undo stack in ClearSceneData() instead

Makes more sense to clear it here.
This commit is contained in:
jp9000 committed 2021-04-09 04:19:31 -07:00
1 parent 0b583260a2
commit e39fa5e902
2 files changed
+2 -2

No files matched your search

+2
View File
@@ -4386,6 +4386,8 @@ void OBSBasic::ClearSceneData()
if (api)
api->on_event(OBS_FRONTEND_EVENT_SCENE_COLLECTION_CLEANUP);
undo_s.clear();
disableSaving--;
blog(LOG_INFO, "All scene data cleared");