changeset 218:29e1a68589a0

Update code to set the current footer
author Björn Ricks <bjoern.ricks@intevation.de>
date Fri, 05 Apr 2013 20:01:03 +0200
parents 7d6615ac2453
children 71638dcc5a0f
files getan/view.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/getan/view.py	Fri Apr 05 20:00:11 2013 +0200
+++ b/getan/view.py	Fri Apr 05 20:01:03 2013 +0200
@@ -63,8 +63,8 @@
             self.footer = urwid.AttrWrap(urwid.Edit(text), attr)
         else:
             logger.debug("ListWidget: set footer text = '%s'" % text)
-            self.footer = urwid.AttrWrap(urwid.Text(text),attr)
-        self._update_view()
+            self.footer = urwid.AttrWrap(urwid.Text(text), attr)
+        self.frame.set_footer(self.footer)
 
     def row_count(self):
         if not self.rows:
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)