mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-01-23 13:49:04 -05:00
In the settings window, when the user chooses to use a stream key instead of connecting their account, it switches widgets to show the stream key UI. However, when opening the settings window again after having done that, it's supposed to continue to show the stream key UI, and that functionality was broken by obsproject/obs-studio#9272. It did this because OBSBasicSettings::ServiceChanged() no longer called reset_service_ui_fields() because the lastService member variable was no longer set to empty in OBSBasicSettings::LoadStream1Settings(). This fixes it by just adding a parameter to OBSBasicSettings::ServiceChanged() to make it forcibly reset the fields when loading stream settings.
49 KiB
49 KiB