Skip to content

Commit

Permalink
fix: add flag_dirty option also when a ConfigurationListAttribute is set
Browse files Browse the repository at this point in the history
  • Loading branch information
filimarc committed Nov 27, 2024
1 parent 4d72d29 commit 3c72b0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bsb/config/_attrs.py
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,7 @@ def __init__(self, *args, size=None, **kwargs):

def __set__(self, instance, value, _key=None):
_setattr(instance, self.attr_name, self.fill(value, _parent=instance))
self.flag_dirty(instance)

def __populate__(self, instance, value, unique_list=False):
cfglist = _getattr(instance, self.attr_name)
Expand Down

0 comments on commit 3c72b0f

Please sign in to comment.