summaryrefslogtreecommitdiffstats
path: root/aconf
diff options
context:
space:
mode:
Diffstat (limited to 'aconf')
-rw-r--r--aconf/model/field.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/aconf/model/field.lua b/aconf/model/field.lua
index ec8e2c7..59b6700 100644
--- a/aconf/model/field.lua
+++ b/aconf/model/field.lua
@@ -114,6 +114,7 @@ end
function M.Field:_editable(context)
if self.editable == nil then
+ if not self.visible then return false end
if self.store or not self.compute then return true end
if self.compute then return self:_compute(context) == nil end
return false