even less jumpy

This commit is contained in:
Daniel Gultsch 2015-07-16 14:06:54 +02:00
parent 6a329c7465
commit 425f0479a8

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);
} }