Merge remote-tracking branch 'warmist/FilteredListFix' into develop

develop
lethosor 2019-11-02 16:28:06 -04:00
commit 49563b4618
1 changed files with 4 additions and 1 deletions

@ -716,13 +716,16 @@ end
function FilteredList:onInput(keys) function FilteredList:onInput(keys)
if self.edit_key and keys[self.edit_key] and not self.edit.active then if self.edit_key and keys[self.edit_key] and not self.edit.active then
self.edit.active = true self.edit.active = true
return true
elseif keys.LEAVESCREEN and self.edit.active then elseif keys.LEAVESCREEN and self.edit.active then
self.edit.active = false self.edit.active = false
return true
else else
self:inputToSubviews(keys) return self:inputToSubviews(keys)
end end
end end
function FilteredList:getChoices() function FilteredList:getChoices()
return self.choices return self.choices
end end