changeset 72:095914aee329

Return True from keydown_event so that the container knows the event has been handled.
author Simon Cross <hodgestar@gmail.com>
date Sun, 11 Sep 2011 17:57:38 +0200
parents 58557a89ec86
children a73a4af110a2
files mamba/habitats/level.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mamba/habitats/level.py	Sun Sep 11 17:51:43 2011 +0200
+++ b/mamba/habitats/level.py	Sun Sep 11 17:57:38 2011 +0200
@@ -20,3 +20,4 @@
         if ev.key in ESCAPE_KEYS:
             from mamba.habitats.mainmenu import MainMenu
             NewHabitatEvent.post(MainMenu())
+            return True