From 947450ce4e8884679664ada94d68232264534d20 Mon Sep 17 00:00:00 2001 From: tt2468 Date: Wed, 17 Nov 2021 03:18:21 -0800 Subject: [PATCH] Revert "Revert "Events: Re-enable *Changing events"" This reverts commit c60d09246c635de9b84648cd5a6146fe7938bb2c. --- src/eventhandler/EventHandler.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/eventhandler/EventHandler.cpp b/src/eventhandler/EventHandler.cpp index 5979e5b9..8470e633 100644 --- a/src/eventhandler/EventHandler.cpp +++ b/src/eventhandler/EventHandler.cpp @@ -264,18 +264,18 @@ void EventHandler::OnFrontendEvent(enum obs_frontend_event event, void *private_ break; // Config - //case OBS_FRONTEND_EVENT_SCENE_COLLECTION_CHANGING: - // eventHandler->HandleCurrentSceneCollectionChanging(); - // break; + case OBS_FRONTEND_EVENT_SCENE_COLLECTION_CHANGING: + eventHandler->HandleCurrentSceneCollectionChanging(); + break; case OBS_FRONTEND_EVENT_SCENE_COLLECTION_CHANGED: eventHandler->HandleCurrentSceneCollectionChanged(); break; case OBS_FRONTEND_EVENT_SCENE_COLLECTION_LIST_CHANGED: eventHandler->HandleSceneCollectionListChanged(); break; - //case OBS_FRONTEND_EVENT_PROFILE_CHANGING: - // eventHandler->HandleCurrentProfileChanging(); - // break; + case OBS_FRONTEND_EVENT_PROFILE_CHANGING: + eventHandler->HandleCurrentProfileChanging(); + break; case OBS_FRONTEND_EVENT_PROFILE_CHANGED: eventHandler->HandleCurrentProfileChanged(); break;