mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-23 19:52:37 -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,
|
self.hangup = DirectButton(self,
|
||||||
relief=None,
|
relief=None,
|
||||||
pos=(-0.158, 0, 0.17),
|
pos=(-0.158, 0, 0.17),
|
||||||
parent=base.a2dBottomRight,
|
|
||||||
image=[hangupGui, hangupRolloverGui, hangupRolloverGui, hangupGui],
|
image=[hangupGui, hangupRolloverGui, hangupRolloverGui, hangupGui],
|
||||||
text=['', TTLocalizer.CatalogHangUp, TTLocalizer.CatalogHangUp],
|
text=['', TTLocalizer.CatalogHangUp, TTLocalizer.CatalogHangUp],
|
||||||
text_fg=Vec4(1),
|
text_fg=Vec4(1),
|
||||||
|
@ -47,6 +46,7 @@ class CatalogGUI(NodePath, DirectObject):
|
||||||
text_pos=(0.0, 0.14),
|
text_pos=(0.0, 0.14),
|
||||||
command=self.hangUp
|
command=self.hangUp
|
||||||
)
|
)
|
||||||
|
self.hangup.reparentTo(base.a2dBottomRight)
|
||||||
guiItems.removeNode()
|
guiItems.removeNode()
|
||||||
|
|
||||||
def setCurrentTab(self, tab):
|
def setCurrentTab(self, tab):
|
||||||
|
|
Loading…
Reference in a new issue