Remove 'OK' from tag selection dialog

pull/413/head
Alex Baker 8 years ago
parent bcee804a78
commit 3f32030b8e

@ -221,19 +221,13 @@ public final class TagsControlSet extends TaskEditControlFragment {
private AlertDialog buildDialog() {
return dialogBuilder.newDialog()
.setView(dialogView)
.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {
.setOnDismissListener(new DialogInterface.OnDismissListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
public void onDismiss(DialogInterface dialogInterface) {
tagList = getTagList();
refreshDisplayView();
}
})
.setOnCancelListener(new DialogInterface.OnCancelListener() {
@Override
public void onCancel(DialogInterface dialog) {
refreshDisplayView();
}
})
.create();
}

Loading…
Cancel
Save