changeset 282:12aa8208bb36

Don't set focus here it will already be set by the set_focus method
author Björn Ricks <bjoern.ricks@intevation.de>
date Fri, 12 Apr 2013 09:40:53 +0200
parents 7efdacb66dee
children 0746534b7f97
files getan/states.py
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/getan/states.py	Fri Apr 12 09:40:33 2013 +0200
+++ b/getan/states.py	Fri Apr 12 09:40:53 2013 +0200
@@ -751,7 +751,6 @@
                                              'question', 1)
         super(ProjectEditKeyState, self).__init__(controller, view)
         self.project = project
-        self.view.frame.set_focus('footer')
         self.footer.set_edit_text(project.key)
         self.footer.set_edit_pos(len(self.footer.edit_text))
 
@@ -777,7 +776,6 @@
                                              "question", 1)
         super(ProjectEditDescriptionState, self).__init__(controller, view)
         self.project = project
-        self.view.frame.set_focus("footer")
         self.footer.set_edit_text(project.desc)
         self.footer.set_edit_pos(len(self.footer.edit_text))
 
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)