even less jumpy

This commit is contained in:
Daniel Gultsch 2015-07-16 14:06:54 +02:00
parent 6a329c7465
commit 425f0479a8
1 changed files with 3 additions and 1 deletions

View File

@ -503,7 +503,9 @@ 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) {
this.mAccountJid.requestFocus(); this.mAccountJid.requestFocus();
}
} else { } else {
this.mAccountJid.setError(null); this.mAccountJid.setError(null);
} }