1
0
mirror of https://github.com/kepler155c/opus synced 2025-10-30 23:23: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

@@ -120,7 +120,9 @@ local page = UI.Page {
}
function page.wizard.pages.label:validate()
os.setComputerLabel(self.label.value)
if self.label.value then
os.setComputerLabel(self.label.value)
end
return true
end