base: Fix item filtering

This commit is contained in:
Emmanuel Lepage Vallee 2016-06-23 00:03:30 -04:00
parent b042c62931
commit be38bbdc6f
1 changed files with 1 additions and 1 deletions

View File

@ -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