From 34512a4aa108f14757595f4949978bdcc08577ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Fri, 1 May 2026 12:55:44 +0200 Subject: [PATCH] Show the entry even for hidden adhoc servers if they are currently chosen. --- UI/AdhocServerScreen.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UI/AdhocServerScreen.cpp b/UI/AdhocServerScreen.cpp index 040d77d9d0..6bbf492d05 100644 --- a/UI/AdhocServerScreen.cpp +++ b/UI/AdhocServerScreen.cpp @@ -726,7 +726,8 @@ void AdhocServerScreen::CreatePopupContents(UI::ViewGroup *parent) { CollapsibleSection *publicSection = innerView->Add(new CollapsibleSection(n->T("Public server list"), new LinearLayoutParams(FILL_PARENT, WRAP_CONTENT))); for (const auto &entry : entries) { - if (entry.hidden) + // Show even hidden entries, as long as they are chosen currently. + if (entry.hidden && entry.host != g_Config.sProAdhocServer) continue; AddButtonFromEntry(publicSection, entry, false); }