Don't respond to q in dialog (we were responding on q-up by quuitting the whole app, oops

This commit is contained in:
Kevin Lange 2017-01-19 17:26:14 +09:00
parent 78967142e7
commit 077639b9f3

View File

@ -154,9 +154,7 @@ class DialogWindow(yutani.Window):
self.draw()
def keyboard_event(self, msg):
if msg.event.key == b"q":
self.close()
sys.exit(0)
pass # Do not respond to keyboard events until we get keyboard focus stuff
if __name__ == '__main__':
yutani.Yutani()