fix: register every filter value a server introduces, not just the first #148
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/pop-boxes-filter-lists"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
pop_boxeswalks each server's country/provider/tunnel as an if/elif chain, so a server that introduces a new country contributes nothing else on that pass. Multi-server providers hid this; a single-server custom provider (the live case:proton-custom, one server, new country) never reachesprovider_list— and with it the delete dropdown, so it cannot be removed from the GUI at all. Closes #140.Fix
ifs.setItemTextcalls beside eachaddItem: against a freshly cleared box they target indexes that don't exist yet, making them no-ops (the off-by-one #140 noted).Verification
provider_list,tunnel_list, and the delete dropdown. Fails on trunk, passes with the fix.🤖 Generated with Claude Code