fixed bug in track-gui-items cleanup
This commit is contained in:
parent
a8697a4594
commit
0223f1cb38
|
|
@ -1010,7 +1010,7 @@ class DirectGuiWidget(DirectGuiBase, NodePath):
|
|||
def destroy(self):
|
||||
if __dev__:
|
||||
if hasattr(base, 'guiItems'):
|
||||
if self in base.guiItems:
|
||||
if self.guiId in base.guiItems:
|
||||
del base.guiItems[self.guiId]
|
||||
else:
|
||||
base.notify.warning(
|
||||
|
|
|
|||
Loading…
Reference in New Issue