Don't respond to q in dialog (we were responding on q-up by quuitting the whole app, oops
This commit is contained in:
parent
78967142e7
commit
077639b9f3
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user