changeset 250:4d93bca23d89

Set focus to GetanView frame footer when changing to DescriptionProjectsState
author Björn Ricks <bjoern.ricks@intevation.de>
date Tue, 09 Apr 2013 22:20:22 +0200
parents 09051bd266b1
children 6bafb0f3ee36
files getan/states.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/getan/states.py	Tue Apr 09 22:20:01 2013 +0200
+++ b/getan/states.py	Tue Apr 09 22:20:22 2013 +0200
@@ -666,7 +666,7 @@
         controller.view.set_footer_text(self.msg('proj_description'),
                                              'question', edit=True)
         super(AddProjectDescriptionState, self).__init__(controller, view)
-        self.view.frame.set_focus('footer')
+        self.controller.view.view.set_focus('footer')
         self.key = key
 
     def enter(self):
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)