make the generate replace the password rather than append
This commit is contained in:
parent
20468440d3
commit
ae39246732
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ public class pwgenDialogFragment extends DialogFragment {
|
|||
public void onClick(DialogInterface dialog, int which) {
|
||||
EditText edit = (EditText) callingActivity.findViewById(R.id.crypto_password_edit);
|
||||
TextView generate = (TextView) view.findViewById(R.id.passwordText);
|
||||
edit.append(generate.getText());
|
||||
edit.setText(generate.getText());
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue