changeset 207:910136052631

Fix setting the focus
author Björn Ricks <bjoern.ricks@intevation.de>
date Fri, 05 Apr 2013 19:46:27 +0200
parents 9f1c45a2126e
children e1e885b88baf
files getan/states.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/getan/states.py	Fri Apr 05 19:46:08 2013 +0200
+++ b/getan/states.py	Fri Apr 05 19:46:27 2013 +0200
@@ -484,8 +484,7 @@
         f = self.view.focused
         if f >= e_len:
             f = e_len - 1
-        self.view.focused = f
-        self.view.update_focus(f)
+        self.view.set_focus(f)
 
 
 class DefaultEntryListState(EntryListState):
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)