changeset 313:eb05d803249e

Avoid resetting the focus in the entry list if the DeletEntryListState is created
author Björn Ricks <bjoern.ricks@intevation.de>
date Fri, 11 Oct 2013 12:09:42 +0200
parents dc92981ec591
children 05cb2e7e705f
files getan/states.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/getan/states.py	Fri Oct 11 12:09:06 2013 +0200
+++ b/getan/states.py	Fri Oct 11 12:09:42 2013 +0200
@@ -585,6 +585,9 @@
 
         return False
 
+    def set_focus(self):
+        self.controller.view.set_focus("entries")
+
 
 class MoveEntryState(EntryListState):
     messages = {
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)