Merge branch 'master' of github.com:open-keychain/open-keychain

This commit is contained in:
Dominik Schürmann 2014-09-07 17:09:54 +02:00
commit 1f477c8059

View File

@ -289,8 +289,8 @@ public class PassphraseDialogFragment extends DialogFragment implements OnEditor
// if the passphrase was wrong, reset and re-enable the dialogue
if (!result) {
// TODO add a "bad passphrase" dialogue?
mPassphraseEditText.setText("");
mPassphraseEditText.setError(getString(R.string.wrong_passphrase));
mInput.setVisibility(View.VISIBLE);
mProgress.setVisibility(View.GONE);
positive.setEnabled(true);