mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-23 11:42:39 -06:00
Fix catalog crash
This commit is contained in:
parent
d445c51604
commit
702d65198d
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,6 @@ class CatalogGUI(NodePath, DirectObject):
|
|||
self.hangup = DirectButton(self,
|
||||
relief=None,
|
||||
pos=(-0.158, 0, 0.17),
|
||||
parent=base.a2dBottomRight,
|
||||
image=[hangupGui, hangupRolloverGui, hangupRolloverGui, hangupGui],
|
||||
text=['', TTLocalizer.CatalogHangUp, TTLocalizer.CatalogHangUp],
|
||||
text_fg=Vec4(1),
|
||||
|
@ -47,6 +46,7 @@ class CatalogGUI(NodePath, DirectObject):
|
|||
text_pos=(0.0, 0.14),
|
||||
command=self.hangUp
|
||||
)
|
||||
self.hangup.reparentTo(base.a2dBottomRight)
|
||||
guiItems.removeNode()
|
||||
|
||||
def setCurrentTab(self, tab):
|
||||
|
|
Loading…
Reference in a new issue