summaryrefslogtreecommitdiff
path: root/alot
diff options
context:
space:
mode:
Diffstat (limited to 'alot')
-rw-r--r--alot/commands/envelope.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/alot/commands/envelope.py b/alot/commands/envelope.py
index c72c5fa3..e1a6eca7 100644
--- a/alot/commands/envelope.py
+++ b/alot/commands/envelope.py
@@ -492,6 +492,8 @@ class SignCommand(Command):
ui.notify(e.message, priority='error')
return
envelope.sign_key = key
+ else:
+ envelope.sign_key = None
# reload buffer
ui.current_buffer.rebuild()