UI: Create YouTube Dock when switching profile

This commit is contained in:
shiina424 2024-11-03 03:00:56 +09:00 • committed by Ryan Foster
commit d7292a4f64

View file

@ -711,6 +711,10 @@ void OBSBasic::ActivateProfile(const OBSProfile &profile, bool reset)
UpdateVolumeControlsDecayRate();
Auth::Load();
#ifdef YOUTUBE_ENABLED
if (YouTubeAppDock::IsYTServiceSelected() && !youtubeAppDock)
NewYouTubeAppDock();
#endif
OnEvent(OBS_FRONTEND_EVENT_PROFILE_CHANGED);