Skip to content

Commit

Permalink
Fixed exception when adding a group inside an existing group
Browse files Browse the repository at this point in the history
  • Loading branch information
maforget authored Mar 12, 2023
1 parent da47a49 commit ec804e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configformcontrols.py
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ def add_rule(self, sender, e, rule=None):
self._rules_container.Controls.Add(rule)


def add_group(self, sender, e, rule_group):
def add_group(self, sender, e, rule_group=None):
"""Adds a new metadata exclude group control to this group"""
group = MetadataExcludeGroupControl(self.remove_rule, rule_group)

Expand Down

0 comments on commit ec804e7

Please sign in to comment.