Split preferences into simple and advanced

This commit is contained in:
emanuele-f 2016-12-31 20:04:29 +01:00 committed by Simone Mainardi
parent af9fc2fa10
commit bd11ca7937
2 changed files with 80 additions and 75 deletions

View file

@ -2526,3 +2526,13 @@ function table.merge(a, b)
return merged
end
function toboolean(s)
if s == "true" then
return true
elseif s == "false" then
return false
else
return nil
end
end