forked from endorphant/ttbp
fixing settings menu crashing, closes #24g
parent
b367e5103f
commit
36595b06bd
|
@ -444,6 +444,8 @@ def setup():
|
||||||
redraw(EJECT)
|
redraw(EJECT)
|
||||||
return SETTINGS
|
return SETTINGS
|
||||||
|
|
||||||
|
if choice is not "":
|
||||||
|
|
||||||
if choice in QUITS:
|
if choice in QUITS:
|
||||||
redraw()
|
redraw()
|
||||||
return SETTINGS
|
return SETTINGS
|
||||||
|
@ -506,6 +508,10 @@ def setup():
|
||||||
|
|
||||||
return SETTINGS
|
return SETTINGS
|
||||||
|
|
||||||
|
else:
|
||||||
|
redraw("now changing your settings. press <ctrl-c> if you didn't mean to do this.")
|
||||||
|
return setup()
|
||||||
|
|
||||||
def save_settings():
|
def save_settings():
|
||||||
"""
|
"""
|
||||||
Save current settings.
|
Save current settings.
|
||||||
|
|
Loading…
Reference in New Issue