Browse Source

UI: Fix transitions being disabled

Clayton Groeneveld 5 years ago
parent
commit
69cede2b8d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      UI/window-basic-main-transitions.cpp

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

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