aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorMohamed Zenadi <mohamed@zenadi.com>2015-07-18 20:18:04 +0200
committerMohamed Zenadi <mohamed@zenadi.com>2015-07-18 20:18:04 +0200
commit608f61b6051d8bd03fd75628c225cccb9c0bedde (patch)
tree29796ba2e2a1528dcd171c8736b0738711da298a /app/src/main
parent5cd34a3427fdca5ff58408ea6ff5bd00d49173bd (diff)
fix a typo, the generate edit text is in the dialog not in the fragment
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/pwgenDialogFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/pwgenDialogFragment.java b/app/src/main/java/com/zeapo/pwdstore/pwgenDialogFragment.java
index 494aa6cd..1a42e2ba 100644
--- a/app/src/main/java/com/zeapo/pwdstore/pwgenDialogFragment.java
+++ b/app/src/main/java/com/zeapo/pwdstore/pwgenDialogFragment.java
@@ -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());
}
});