default the location filter to off

to preserve default vanilla behavior
develop
Myk Taylor 2023-10-16 23:40:07 -07:00
parent 0fc4b15093
commit 29d39938f9
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

@ -79,7 +79,7 @@ function LocationSelectorOverlay:init()
frame={l=1, t=0, r=1}, frame={l=1, t=0, r=1},
label="Hide established:", label="Hide established:",
key='CUSTOM_SHIFT_E', key='CUSTOM_SHIFT_E',
initial_option=true, initial_option=false,
on_change=function() self:do_search(self.subviews.search.text, true) end, on_change=function() self:do_search(self.subviews.search.text, true) end,
}, },
}, },
@ -113,7 +113,7 @@ end
function LocationSelectorOverlay:reset() function LocationSelectorOverlay:reset()
LocationSelectorOverlay.super.reset(self) LocationSelectorOverlay.super.reset(self)
self.cache = nil self.cache = nil
self.subviews.hide_established:setOption(true, false) self.subviews.hide_established:setOption(false, false)
end end
function LocationSelectorOverlay:get_cache() function LocationSelectorOverlay:get_cache()