From 975bed8935b2c8c1fc78f702ec8da6b080a9d5e1 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Sun, 10 Feb 2019 22:09:58 -0800 Subject: [PATCH] UI: Fix autoconfig authentication not working ServiceChanged() is used with multiple widgets, and should only be cleared when the actual service has changed. --- UI/window-basic-auto-config.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/UI/window-basic-auto-config.cpp b/UI/window-basic-auto-config.cpp index f312b272a..6df9ca3aa 100644 --- a/UI/window-basic-auto-config.cpp +++ b/UI/window-basic-auto-config.cpp @@ -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) {