show error message in account details when info has not been edited

This commit is contained in:
Daniel Gultsch 2015-07-17 13:14:24 +02:00
parent 1f43115544
commit 13cce172ab

View File

@ -503,7 +503,7 @@ public class EditAccountActivity extends XmppActivity implements OnAccountUpdate
} else { } else {
if (this.mAccount.errorStatus()) { if (this.mAccount.errorStatus()) {
this.mAccountJid.setError(getString(this.mAccount.getStatus().getReadableId())); this.mAccountJid.setError(getString(this.mAccount.getStatus().getReadableId()));
if (init) { if (init || !accountInfoEdited()) {
this.mAccountJid.requestFocus(); this.mAccountJid.requestFocus();
} }
} else { } else {