From 004253f29633b38e7b1d8e0598e3f91a2ed790a9 Mon Sep 17 00:00:00 2001 From: Mariana Date: Wed, 20 Mar 2024 16:56:46 +0000 Subject: [PATCH] UI: Fix Auto-Config Wizard for custom server with no stream key The Auto-Configuration Wizard cannot progress when selecting a custom service that does not require a stream key. Since we have no way to validate if a custom service requires a stream key, we should just not require a stream key is custom service is selected. To fix this, check if a custom service has not been selected when checking if the stream key is empty. Co-authored-by: Ryan Foster --- UI/window-basic-auto-config.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UI/window-basic-auto-config.cpp b/UI/window-basic-auto-config.cpp index 51947e477..f992c0719 100644 --- a/UI/window-basic-auto-config.cpp +++ b/UI/window-basic-auto-config.cpp @@ -852,11 +852,11 @@ void AutoConfigStreamPage::UpdateServerList() void AutoConfigStreamPage::UpdateCompleted() { + const bool custom = IsCustomService(); if (ui->stackedWidget->currentIndex() == (int)Section::Connect || - (ui->key->text().isEmpty() && !auth)) { + (ui->key->text().isEmpty() && !auth && !custom)) { ready = false; } else { - bool custom = IsCustomService(); if (custom) { ready = !ui->customServer->text().isEmpty(); } else {