diff options
-rw-r--r-- | alot/buffers.py | 3 | ||||
-rw-r--r-- | alot/commands/envelope.py | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/alot/buffers.py b/alot/buffers.py index 80ec0855..09cf1fe8 100644 --- a/alot/buffers.py +++ b/alot/buffers.py @@ -178,6 +178,9 @@ class EnvelopeBuffer(Buffer): description += key.uids[0].uid lines.append(('GPG encrypt', description)) + if self.envelope.tags: + lines.append(('Tags', ','.join(self.envelope.tags))) + # add header list widget iff header values exists if lines: key_att = settings.get_theming_attribute('envelope', 'header_key') diff --git a/alot/commands/envelope.py b/alot/commands/envelope.py index 5537a31f..481af1f3 100644 --- a/alot/commands/envelope.py +++ b/alot/commands/envelope.py @@ -625,3 +625,5 @@ class TagCommand(Command): elif self.action == 'toggle': new = old.symmetric_difference(tags) envelope.tags = sorted(new) + # reload buffer + ui.current_buffer.rebuild() |