1
0
Эх сурвалжийг харах

Merge pull request #2375 from cg2121/tr-disabled-fix

UI: Fix transitions being disabled
Jim 5 жил өмнө
parent
commit
83a74b8967

+ 2 - 2
UI/window-basic-main-transitions.cpp

@@ -267,10 +267,10 @@ void OBSBasic::TransitionStopped()
 		OBSSource scene = OBSGetStrongRef(swapScene);
 		OBSSource scene = OBSGetStrongRef(swapScene);
 		if (scene)
 		if (scene)
 			SetCurrentScene(scene);
 			SetCurrentScene(scene);
-
-		EnableTransitionWidgets(true);
 	}
 	}
 
 
+	EnableTransitionWidgets(true);
+
 	if (api) {
 	if (api) {
 		api->on_event(OBS_FRONTEND_EVENT_TRANSITION_STOPPED);
 		api->on_event(OBS_FRONTEND_EVENT_TRANSITION_STOPPED);
 		api->on_event(OBS_FRONTEND_EVENT_SCENE_CHANGED);
 		api->on_event(OBS_FRONTEND_EVENT_SCENE_CHANGED);