select wrong passcode / password when showing error message

This commit is contained in:
John Preston
2015-11-24 13:29:37 +03:00
parent e5c82fad21
commit 3cf4c7f2fc
4 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -252,7 +252,7 @@ bool IntroCode::codeSubmitFail(const RPCError &error) {
return true;
} else if (err == "PHONE_CODE_EMPTY" || err == "PHONE_CODE_INVALID") {
showError(lang(lng_bad_code));
code.setFocus();
code.notaBene();
return true;
} else if (err == "PHONE_NUMBER_UNOCCUPIED") { // success, need to signUp
intro()->setCode(sentCode);