diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2011-09-30 23:18:14 +0100 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2011-09-30 23:18:14 +0100 |
commit | 5eb203ddcba020d032d375223a46dfb3a3e57650 (patch) | |
tree | f7863287d8db133f0cb02241b75d59af6aebae93 /alot | |
parent | 72c77151eb9ef2e7e9909fdf206a0b3a2f0c19db (diff) |
fix issue with non-updating focus-flags
Diffstat (limited to 'alot')
-rw-r--r-- | alot/widgets.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/alot/widgets.py b/alot/widgets.py index 7719ffe6..092a414a 100644 --- a/alot/widgets.py +++ b/alot/widgets.py @@ -55,9 +55,9 @@ class ThreadlineWidget(urwid.AttrMap): 'threadline_mailcount') cols.append(('fixed', len(mailcountstring), self.mailcount_w)) - tag_widgets = [TagWidget(tag) for tag in self.thread.get_tags()] - tag_widgets.sort(tag_cmp, lambda tag_widget: tag_widget.translated) - for tag_widget in tag_widgets: + self.tag_widgets = [TagWidget(tag) for tag in self.thread.get_tags()] + self.tag_widgets.sort(tag_cmp, lambda tag_widget: tag_widget.translated) + for tag_widget in self.tag_widgets: cols.append(('fixed', tag_widget.width(), tag_widget)) authors = self.thread.get_authors() or '(None)' |