From 61771533587f162eea973629aab38e3f6c3cb66d Mon Sep 17 00:00:00 2001 From: Marcel Wiegand Date: Tue, 2 Feb 2016 02:20:55 +0100 Subject: [PATCH] supress confirmation when closing totally empty new mail Fixes #1027 --- k9mail/src/main/java/com/fsck/k9/activity/MessageCompose.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/k9mail/src/main/java/com/fsck/k9/activity/MessageCompose.java b/k9mail/src/main/java/com/fsck/k9/activity/MessageCompose.java index 3dc323ed4..b1aca2b52 100644 --- a/k9mail/src/main/java/com/fsck/k9/activity/MessageCompose.java +++ b/k9mail/src/main/java/com/fsck/k9/activity/MessageCompose.java @@ -634,6 +634,7 @@ public class MessageCompose extends K9Activity implements OnClickListener, mSignatureView = lowerSignature; upperSignature.setVisibility(View.GONE); } + updateSignature(); mSignatureView.addTextChangedListener(signTextWatcher); if (!mIdentity.getSignatureUse()) { @@ -646,8 +647,6 @@ public class MessageCompose extends K9Activity implements OnClickListener, updateFrom(); if (!mSourceMessageProcessed) { - updateSignature(); - if (mAction == Action.REPLY || mAction == Action.REPLY_ALL || mAction == Action.FORWARD || mAction == Action.EDIT_DRAFT) { /*