supress confirmation when closing totally empty new mail

Fixes #1027
This commit is contained in:
Marcel Wiegand 2016-02-02 02:20:55 +01:00
parent 5fb5e011b7
commit 6177153358

View file

@ -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) {
/*