mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-27 04:08:37 +01:00
Show the entry even for hidden adhoc servers if they are currently chosen.
This commit is contained in:
1 parent
ede551ff87
commit
34512a4aa1
1 file changed
+2
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user