changeset 236:8caa74da6a53

Reset focus to project list when pressing escape in entry list
author Björn Ricks <bjoern.ricks@intevation.de>
date Tue, 09 Apr 2013 20:01:17 +0200
parents 263fe6ee0e4e
children 13692255bc71
files getan/states.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/getan/states.py	Tue Apr 09 19:57:37 2013 +0200
+++ b/getan/states.py	Tue Apr 09 20:01:17 2013 +0200
@@ -468,6 +468,7 @@
         if keys.get_escape() in key:
             self.view.clear()
             self.set_next_state(self.projectlist_state)
+            self.controller.view.set_focus(0)
             return True
 
         if keys.get_entry_delete() in key:
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)