diff --git a/OsmAnd/src/net/osmand/plus/osmedit/EditPoiDialogFragment.java b/OsmAnd/src/net/osmand/plus/osmedit/EditPoiDialogFragment.java index 0e9fe69797..24d7d0a0f1 100644 --- a/OsmAnd/src/net/osmand/plus/osmedit/EditPoiDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/osmedit/EditPoiDialogFragment.java @@ -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 @@ -678,4 +678,4 @@ public class EditPoiDialogFragment extends DialogFragment { public interface OnFragmentActivatedListener { void onFragmentActivated(); } -} \ No newline at end of file +}