mirror of
https://github.com/kepler155c/opus
synced 2025-10-19 01:37:39 +00:00
ui improvements - disable shell scrolling
This commit is contained in:
@@ -3261,6 +3261,8 @@ function UI.Form:save()
|
||||
if (child.pruneEmpty and type(child.value) == 'string' and #child.value == 0) or
|
||||
(child.pruneEmpty and type(child.value) == 'boolean' and not child.value) then
|
||||
self.values[child.formKey] = nil
|
||||
elseif child.validate == 'numeric' then
|
||||
self.values[child.formKey] = tonumber(child.value)
|
||||
else
|
||||
self.values[child.formKey] = child.value
|
||||
end
|
||||
|
Reference in New Issue
Block a user