changeset 384:3d428f8d6ee5

Update calling set_footer_text The last parameter edit ist a boolean and not an int.
author Björn Ricks <bjoern.ricks@intevation.de>
date Mon, 05 Jan 2015 11:07:17 +0100
parents c8310574ec92
children cf0406ed424a
files getan/states.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/getan/states.py	Mon Jan 05 11:05:31 2015 +0100
+++ b/getan/states.py	Mon Jan 05 11:07:17 2015 +0100
@@ -295,13 +295,13 @@
 
         if keys.get_add_time() in key:
             self.view.set_footer_text(self.msg('add_time'),
-                                      'question', 1)
+                                      'question', edit=True)
             self.set_next_state(AddTimeState(self.controller, self.view, self))
             return True
 
         if keys.get_subtract_time() in key:
             self.view.set_footer_text(self.msg('min_time'),
-                                      'question', 1)
+                                      'question', edit=True)
             self.set_next_state(SubtractTimeState(self.controller, self.view,
                                                   self))
             return True
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)