base: Fix item filtering
This commit is contained in:
parent
b042c62931
commit
be38bbdc6f
2
base.lua
2
base.lua
|
@ -79,7 +79,7 @@ local function filter(data)
|
||||||
local tmp = v._filter_out
|
local tmp = v._filter_out
|
||||||
v._filter_out = (v.text:lower():find(fs) == nil)-- or (fs ~= "")
|
v._filter_out = (v.text:lower():find(fs) == nil)-- or (fs ~= "")
|
||||||
if tmp ~= v._filter_out then
|
if tmp ~= v._filter_out then
|
||||||
v.widget:emit_signal("widget::updated")
|
v.widget.visible = not v._filter_out
|
||||||
end
|
end
|
||||||
if (not v._filter_out) and (not v.widget.visible == false) then
|
if (not v._filter_out) and (not v.widget.visible == false) then
|
||||||
visible_counter = visible_counter + v.height
|
visible_counter = visible_counter + v.height
|
||||||
|
|
Loading…
Reference in New Issue