瀏覽代碼

UI: Fix autoconfig authentication not working

ServiceChanged() is used with multiple widgets, and should only be
cleared when the actual service has changed.
jp9000 6 年之前
父節點
當前提交
975bed8935
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      UI/window-basic-auto-config.cpp

+ 0 - 1
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) {