mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-25 12:42:41 -06:00
Fix Toon deletion bug
This commit is contained in:
parent
0247ec5daf
commit
e7f17e5299
2 changed files with 7 additions and 3 deletions
|
@ -42,3 +42,4 @@ show-population #t
|
||||||
want-instant-parties #t
|
want-instant-parties #t
|
||||||
cogdo-pop-factor 1.5
|
cogdo-pop-factor 1.5
|
||||||
cogdo-ratio 0.5
|
cogdo-ratio 0.5
|
||||||
|
default-directnotify-level info
|
||||||
|
|
|
@ -212,13 +212,16 @@ class AvatarChooser(StateData.StateData):
|
||||||
elif panelDoneStatus == 'nameIt':
|
elif panelDoneStatus == 'nameIt':
|
||||||
self.__handleChoice()
|
self.__handleChoice()
|
||||||
elif panelDoneStatus == 'delete':
|
elif panelDoneStatus == 'delete':
|
||||||
self.__handleChoice()
|
self.__handleDelete()
|
||||||
elif panelDoneStatus == 'create':
|
elif panelDoneStatus == 'create':
|
||||||
self.__handleChoice()
|
self.__handleChoice()
|
||||||
|
|
||||||
def __handleChoice(self):
|
def __handleChoice(self):
|
||||||
base.transitions.fadeOut(finishIval=EventInterval(self.doneEvent, [self.doneStatus]))
|
base.transitions.fadeOut(finishIval=EventInterval(self.doneEvent, [self.doneStatus]))
|
||||||
|
|
||||||
|
def __handleDelete(self):
|
||||||
|
messenger.send(self.doneEvent, [self.doneStatus])
|
||||||
|
|
||||||
def __handleQuit(self):
|
def __handleQuit(self):
|
||||||
cleanupDialog('globalDialog')
|
cleanupDialog('globalDialog')
|
||||||
self.doneStatus = {'mode': 'exit'}
|
self.doneStatus = {'mode': 'exit'}
|
||||||
|
|
Loading…
Reference in a new issue