aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/ui
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2015-07-17 13:14:24 +0200
committerDaniel Gultsch <daniel@gultsch.de>2015-07-17 13:14:24 +0200
commit13cce172abdd581a77084137dd1ba442aae7404b (patch)
tree324492ff1a53bf48643dcbdf44f7914c8f10c6e8 /src/main/java/eu/siacs/conversations/ui
parent1f431155440273d6a14ab416a444e43bf64ebc00 (diff)
show error message in account details when info has not been edited
Diffstat (limited to 'src/main/java/eu/siacs/conversations/ui')
-rw-r--r--src/main/java/eu/siacs/conversations/ui/EditAccountActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/EditAccountActivity.java b/src/main/java/eu/siacs/conversations/ui/EditAccountActivity.java
index 4481981ad..908c29d21 100644
--- a/src/main/java/eu/siacs/conversations/ui/EditAccountActivity.java
+++ b/src/main/java/eu/siacs/conversations/ui/EditAccountActivity.java
@@ -503,7 +503,7 @@ public class EditAccountActivity extends XmppActivity implements OnAccountUpdate
} else {
if (this.mAccount.errorStatus()) {
this.mAccountJid.setError(getString(this.mAccount.getStatus().getReadableId()));
- if (init) {
+ if (init || !accountInfoEdited()) {
this.mAccountJid.requestFocus();
}
} else {