Don't return True by default in handleKey

This commit is contained in:
Manuel Cortez 2017-03-26 00:01:42 -06:00
parent 1a4575f018
commit d31d1cbd3e

View File

@ -56,7 +56,7 @@ enter selects default button or displays error if not one
i.draw()
def handleKey(self, c):
ret = 1
ret = 0
if c == curses.KEY_DOWN:
if self.controlIndex >= len(self.controls) -1:
self.beepIfNeeded()