mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix also label clone
This commit is contained in:
parent
9595d8fe91
commit
ea2a9e0221
1 changed files with 2 additions and 2 deletions
|
|
@ -327,8 +327,8 @@ class UISeparatorDef(UIDef):
|
|||
class UILabelDef(UIDef):
|
||||
type = "label"
|
||||
|
||||
def __init__(self, label, key=None):
|
||||
super().__init__(label=label, key=key)
|
||||
def __init__(self, label, key=None, *args, **kwargs):
|
||||
super().__init__(label=label, key=key, *args, **kwargs)
|
||||
|
||||
def _def_type_compare(self, other: "UILabelDef") -> bool:
|
||||
return self.label == other.label
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue