summaryrefslogtreecommitdiff
path: root/alot/widgets.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/widgets.py')
-rw-r--r--alot/widgets.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/alot/widgets.py b/alot/widgets.py
index 6de59622..518911e2 100644
--- a/alot/widgets.py
+++ b/alot/widgets.py
@@ -185,8 +185,8 @@ class ThreadlineWidget(urwid.AttrMap):
part = content_w
elif name == 'tags':
if self.thread:
- fallback_normal = self.structure['normal']
- fallback_focus = self.structure['focus']
+ fallback_normal = struct[name]['normal']
+ fallback_focus = struct[name]['focus']
tag_widgets = [TagWidget(t, fallback_normal, fallback_focus)
for t in self.thread.get_tags()]
tag_widgets.sort(tag_cmp,