changeset 269:e360277c421b

Remove setting the focus
author Björn Ricks <bjoern.ricks@intevation.de>
date Thu, 11 Apr 2013 12:43:37 +0200
parents 06157568d287
children 8a3dd18a0b61
files getan/states.py
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/getan/states.py	Thu Apr 11 12:42:35 2013 +0200
+++ b/getan/states.py	Thu Apr 11 12:43:37 2013 +0200
@@ -648,7 +648,6 @@
         controller.view.set_footer_text(self.msg('proj_key'), 'question',
                 edit=True)
         super(AddProjectKeyState, self).__init__(controller, view)
-        self.view.frame.set_focus('footer')
 
     def enter(self):
         key = self.footer.get_edit_text()
@@ -670,7 +669,6 @@
         controller.view.set_footer_text(self.msg('proj_description'),
                                              'question', edit=True)
         super(AddProjectDescriptionState, self).__init__(controller, view)
-        self.controller.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)