[Getan-commits] [PATCH 18 of 32] Avoid resetting the focus in the entry list if the DeletEntryListState is

Wald Commits scm-commit at wald.intevation.org
Fri Oct 11 14:34:02 CEST 2013


# HG changeset patch
# User Björn Ricks <bjoern.ricks at intevation.de>
# Date 1381486182 -7200
# Node ID eb05d803249e080a23fcf2d5cda172a5eeab517e
# Parent  dc92981ec59193992ef1d63b7cb8182ba8b7cc0d
Avoid resetting the focus in the entry list if the DeletEntryListState is
created

diff -r dc92981ec591 -r eb05d803249e getan/states.py
--- 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 = {


More information about the Getan-commits mailing list