mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-23 19:52:37 -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()
|
||||
|
||||
def deactivateButtons(self):
|
||||
if self.previousActivateMode == 'book':
|
||||
self.bookDeactivateButtons()
|
||||
elif self.previousActivateMode == 'purchaseDelete':
|
||||
if self.previousActivateMode == 'purchaseDelete':
|
||||
self.purchaseDeleteDeactivateButtons()
|
||||
elif self.previousActivateMode == 'purchase':
|
||||
self.purchaseDeactivateButtons()
|
||||
|
@ -399,9 +397,6 @@ class InventoryNew(InventoryBase.InventoryBase, DirectFrame):
|
|||
self.storePurchaseBrokeDeactivateButtons()
|
||||
elif self.previousActivateMode == 'plantTree':
|
||||
self.plantTreeDeactivateButtons()
|
||||
else:
|
||||
self.notify.error('No such mode as %s' % self.previousActivateMode)
|
||||
return None
|
||||
|
||||
def __activateButtons(self):
|
||||
if hasattr(self, 'activateMode'):
|
||||
|
@ -455,9 +450,6 @@ class InventoryNew(InventoryBase.InventoryBase, DirectFrame):
|
|||
else:
|
||||
self.hideTrack(track)
|
||||
|
||||
def bookDeactivateButtons(self):
|
||||
self.deleteEnterButton['command'] = None
|
||||
|
||||
def updateDeleteButtons(self):
|
||||
for track in xrange(len(Tracks)):
|
||||
if self.toon.hasTrackAccess(track):
|
||||
|
|
Loading…
Reference in a new issue