summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--alot/commands/globals.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/alot/commands/globals.py b/alot/commands/globals.py
index a3435742..cd2e9512 100644
--- a/alot/commands/globals.py
+++ b/alot/commands/globals.py
@@ -856,6 +856,8 @@ class ComposeCommand(Command):
ui.senderhistory.append(fromaddress)
self.envelope.add('From', fromaddress)
+ else:
+ fromaddress = self.envelope.get("From")
# try to find the account again
if account is None: