Mercurial > getan
changeset 133:78992300f421
Reset the ProjectList footer
Reset the ProjectList footer when going back from the MoveProjectState. With
this change the old time display will be restored.
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Wed, 31 Oct 2012 09:55:59 +0100 |
parents | 3b2a64542555 |
children | c80c7fc6a8fc |
files | getan/states.py |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/getan/states.py Wed Oct 31 09:54:18 2012 +0100 +++ b/getan/states.py Wed Oct 31 09:55:59 2012 +0100 @@ -463,13 +463,14 @@ super(MoveEntryState, self).__init__(state, controller, view) self.view.set_footer_text(self.msg('project'), 'question') self.proj_keys = "" + self.project_view = controller.project_view def set_project_footer(self): - self.controller.project_view.set_footer_text("Selecting project from " \ + self.project_view.set_footer_text("Selecting project from " \ "key: %s" % self.proj_keys, "running") def reset_project_footer(self): - self.controller.project_view.set_footer_text("", "entry_footer") + self.project_view.reset_footer() def keypress(self, key): if 'y' in key and self.proj: