force layout

This commit is contained in:
Will McGugan
2022-05-29 18:13:35 +01:00
parent 04304aec36
commit 90a7a1cdce

View File

@@ -90,7 +90,7 @@ class GenericProperty(Generic[PropertyGetType, PropertySetType]):
return
new_value = self.validate_value(value)
if obj.set_rule(self.name, new_value):
obj.refresh(layout=True)
obj.refresh(layout=self.layout)
class IntegerProperty(GenericProperty[int, int]):