UI: Fix autoconfig authentication not working

ServiceChanged() is used with multiple widgets, and should only be
cleared when the actual service has changed.
This commit is contained in:
jp9000 2019-02-10 22:09:58 -08:00
parent b029453d30
commit 975bed8935

View File

@ -548,7 +548,6 @@ void AutoConfigStreamPage::ServiceChanged()
#ifdef BROWSER_AVAILABLE
OBSBasic *main = OBSBasic::Get();
auth.reset();
if (!!main->auth &&
service.find(main->auth->service()) != std::string::npos) {