From 29d39938f9115895b2fa372bd1901cbd3333dda0 Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Mon, 16 Oct 2023 23:40:07 -0700 Subject: [PATCH] default the location filter to off to preserve default vanilla behavior --- plugins/lua/sort/locationselector.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/lua/sort/locationselector.lua b/plugins/lua/sort/locationselector.lua index f282d4561..f88095203 100644 --- a/plugins/lua/sort/locationselector.lua +++ b/plugins/lua/sort/locationselector.lua @@ -79,7 +79,7 @@ function LocationSelectorOverlay:init() frame={l=1, t=0, r=1}, label="Hide established:", key='CUSTOM_SHIFT_E', - initial_option=true, + initial_option=false, on_change=function() self:do_search(self.subviews.search.text, true) end, }, }, @@ -113,7 +113,7 @@ end function LocationSelectorOverlay:reset() LocationSelectorOverlay.super.reset(self) self.cache = nil - self.subviews.hide_established:setOption(true, false) + self.subviews.hide_established:setOption(false, false) end function LocationSelectorOverlay:get_cache()