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