Settings: validate FilePath hash on use (#5854)

This commit is contained in:
Silvris
2026-05-17 16:40:08 -05:00
committed by GitHub
parent 38e77e1b46
commit 24f75ba072
+2
View File
@@ -98,6 +98,8 @@ class Group:
self._changed = True
attr = new
# resolve the path immediately when accessing it
if attr.exists():
attr.__class__.validate(attr.resolve())
return attr.__class__(attr.resolve())
return attr