fix a typo, the generate edit text is in the dialog not in the fragment
This commit is contained in:
parent
5cd34a3427
commit
608f61b605
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ public class pwgenDialogFragment extends DialogFragment {
|
|||
@Override
|
||||
public void onClick(DialogInterface dialog, int which) {
|
||||
EditText edit = (EditText) callingActivity.findViewById(R.id.crypto_password_edit);
|
||||
EditText generate = (EditText) callingActivity.findViewById(R.id.passwordText);
|
||||
EditText generate = (EditText) view.findViewById(R.id.passwordText);
|
||||
edit.append(generate.getText());
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue