#31: Implement support for invisible interface. GUI implementation needs testing and possibly to be implemented.

This commit is contained in:
Bill Dengler 2015-05-11 19:54:20 -04:00
parent 8d873674ee
commit f241a1fc31

View File

@ -870,6 +870,8 @@ class Controller(object):
pass pass
if position == page.buffer.list.get_selected(): if position == page.buffer.list.get_selected():
page.session.sound.play("limit.ogg") page.session.sound.play("limit.ogg")
else:
page.session.db[page.name+"_pos"]=index
try: try:
output.speak(page.get_message(), True) output.speak(page.get_message(), True)
except: except:
@ -888,6 +890,8 @@ class Controller(object):
pass pass
if position == page.buffer.list.get_selected(): if position == page.buffer.list.get_selected():
page.session.sound.play("limit.ogg") page.session.sound.play("limit.ogg")
else:
page.session.db[page.name+"_pos"]=index
try: try:
output.speak(page.get_message(), True) output.speak(page.get_message(), True)
except: except: