Previous two commits dealt with cmdset duplication issue. Resolve #2938

This commit is contained in:
Griatch 2022-11-07 23:55:24 +01:00
parent 340b979d0d
commit c4e4544abd

View file

@ -538,6 +538,7 @@ class CmdSet(object, metaclass=_CmdSetMeta):
commands = self.commands
system_commands = self.system_commands
for cmd in cmds:
# add all commands
if not hasattr(cmd, "obj") or cmd.obj is None: