Browse Source

UI: Fix compiler error

I probably should have at least compiled this before pushing a commit.
jp9000 4 years ago
parent
commit
ee67228a94
1 changed files with 1 additions and 1 deletions
  1. 1 1
      UI/api-interface.cpp

+ 1 - 1
UI/api-interface.cpp

@@ -646,7 +646,7 @@ struct OBSStudioAPI : obs_frontend_callbacks {
 	{
 		if (main->disableSaving &&
 		    event != OBS_FRONTEND_EVENT_SCENE_COLLECTION_CLEANUP &&
-		    event != OBS_FRONTEND_EVENT_SCENE_COLLECTION_EXIT)
+		    event != OBS_FRONTEND_EVENT_EXIT)
 			return;
 
 		for (size_t i = callbacks.size(); i > 0; i--) {