Update EditPoiDialogFragment.java

This commit is contained in:
vshcherb 2015-11-09 13:29:27 +01:00
parent 218a5d6b3c
commit ef20fc6970

View file

@ -621,7 +621,7 @@ public class EditPoiDialogFragment extends DialogFragment {
public void onClick(DialogInterface dialog, int which) {
String c = comment == null ? null : comment.getText().toString();
boolean closeChangeSet = closeChangesetCheckBox != null
&& closeChangesetCheckBox.isSelected();
&& closeChangesetCheckBox.isChecked();
commitNode(OsmPoint.Action.DELETE, n, openstreetmapUtil.getEntityInfo(), c,
closeChangeSet, new Runnable() {
@Override