mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-23 11:42:39 -06:00
Fix
This commit is contained in:
parent
1c10218bb2
commit
95649ed20a
1 changed files with 1 additions and 9 deletions
|
@ -379,9 +379,7 @@ class InventoryNew(InventoryBase.InventoryBase, DirectFrame):
|
||||||
self.enableUberGags()
|
self.enableUberGags()
|
||||||
|
|
||||||
def deactivateButtons(self):
|
def deactivateButtons(self):
|
||||||
if self.previousActivateMode == 'book':
|
if self.previousActivateMode == 'purchaseDelete':
|
||||||
self.bookDeactivateButtons()
|
|
||||||
elif self.previousActivateMode == 'purchaseDelete':
|
|
||||||
self.purchaseDeleteDeactivateButtons()
|
self.purchaseDeleteDeactivateButtons()
|
||||||
elif self.previousActivateMode == 'purchase':
|
elif self.previousActivateMode == 'purchase':
|
||||||
self.purchaseDeactivateButtons()
|
self.purchaseDeactivateButtons()
|
||||||
|
@ -399,9 +397,6 @@ class InventoryNew(InventoryBase.InventoryBase, DirectFrame):
|
||||||
self.storePurchaseBrokeDeactivateButtons()
|
self.storePurchaseBrokeDeactivateButtons()
|
||||||
elif self.previousActivateMode == 'plantTree':
|
elif self.previousActivateMode == 'plantTree':
|
||||||
self.plantTreeDeactivateButtons()
|
self.plantTreeDeactivateButtons()
|
||||||
else:
|
|
||||||
self.notify.error('No such mode as %s' % self.previousActivateMode)
|
|
||||||
return None
|
|
||||||
|
|
||||||
def __activateButtons(self):
|
def __activateButtons(self):
|
||||||
if hasattr(self, 'activateMode'):
|
if hasattr(self, 'activateMode'):
|
||||||
|
@ -455,9 +450,6 @@ class InventoryNew(InventoryBase.InventoryBase, DirectFrame):
|
||||||
else:
|
else:
|
||||||
self.hideTrack(track)
|
self.hideTrack(track)
|
||||||
|
|
||||||
def bookDeactivateButtons(self):
|
|
||||||
self.deleteEnterButton['command'] = None
|
|
||||||
|
|
||||||
def updateDeleteButtons(self):
|
def updateDeleteButtons(self):
|
||||||
for track in xrange(len(Tracks)):
|
for track in xrange(len(Tracks)):
|
||||||
if self.toon.hasTrackAccess(track):
|
if self.toon.hasTrackAccess(track):
|
||||||
|
|
Loading…
Reference in a new issue