changeset 246:2b2738c8c130

Redirect key event to GetanView Frame in DescriptionProjectsState
author Björn Ricks <bjoern.ricks@intevation.de>
date Tue, 09 Apr 2013 22:18:52 +0200
parents 4ecc6bdf0698
children ee04fc66891f
files getan/states.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/getan/states.py	Tue Apr 09 22:17:13 2013 +0200
+++ b/getan/states.py	Tue Apr 09 22:18:52 2013 +0200
@@ -405,6 +405,10 @@
         'choose_proj': _(" Choose a project."),
     }
 
+    def keypress(self, size, key):
+        """ Direct key to frame of GetanView """
+        self.controller.view.frame.keypress(size, key)
+
     def enter(self):
         text = self.footer.get_edit_text()
         if text == '':
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)