[Getan-commits] [PATCH 3 of 4] Update calling set_footer_text
Wald Commits
scm-commit at wald.intevation.org
Mon Jan 5 11:07:44 CET 2015
# HG changeset patch
# User Björn Ricks <bjoern.ricks at intevation.de>
# Date 1420452437 -3600
# Node ID 3d428f8d6ee5081daba7ba3aa86f577a8c74981b
# Parent c8310574ec9288510d6d8dc18ee3f92fb9156d90
Update calling set_footer_text
The last parameter edit ist a boolean and not an int.
diff -r c8310574ec92 -r 3d428f8d6ee5 getan/states.py
--- 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
More information about the Getan-commits
mailing list