properly handle empty text entry fields (including transformations)

This commit is contained in:
kepler155c@gmail.com
2019-11-13 14:24:54 -07:00
parent 7e520744a2
commit 64ec8c82d3
13 changed files with 64 additions and 51 deletions

View File

@@ -85,7 +85,7 @@ local function rewriteFiles(p)
end
function tab:eventHandler(event)
if event.type == 'add_path' then
if event.type == 'add_path' and self.entry.value then
table.insert(self.grid.values, {
value = self.entry.value,
})