From ef20fc6970a9b4be12b55d3b370046693bf2d9ef Mon Sep 17 00:00:00 2001 From: vshcherb Date: Mon, 9 Nov 2015 13:29:27 +0100 Subject: [PATCH] Update EditPoiDialogFragment.java --- OsmAnd/src/net/osmand/plus/osmedit/EditPoiDialogFragment.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}