1
0
mirror of https://github.com/kepler155c/opus synced 2025-11-10 20:43:03 +00:00

properly handle empty text entry fields (including transformations)

This commit is contained in:
kepler155c@gmail.com
2019-11-13 14:24:43 -07:00
parent 053003f429
commit 65c6ebf711
10 changed files with 131 additions and 83 deletions

View File

@@ -81,7 +81,7 @@ function page:eventHandler(event)
end
elseif event.type == 'text_change' then
if #event.text == 0 then
if not event.text then
self.grid.values = topics
else
self.grid.values = { }