jariarkko / psgeo

Activity location library
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Clicking the default activity off and on again makes country filtering to be lost #344

Closed ralfstrandell closed 1 year ago

ralfstrandell commented 1 year ago

This was because filtering relies on the country checkboxes, which do not exist prior to opening the filter menu! Fix: psgeoCreateOnlyHomelandFilter has been modified to access settings if the home country checkbox does not exist yet. (and that "Only" is misleading - this setting is independent from the other countries setting) Actually, this points out a need in design change: All user interface elements should be created at UI init, not after some relevant button press. Buttons should only set display to none or block!

ralfstrandell commented 1 year ago

Fixed.