diff --git a/OsmAnd/src/net/osmand/plus/osmedit/LocalOpenstreetmapActivity.java b/OsmAnd/src/net/osmand/plus/osmedit/LocalOpenstreetmapActivity.java index de9c1ee675..a26bb07e20 100644 --- a/OsmAnd/src/net/osmand/plus/osmedit/LocalOpenstreetmapActivity.java +++ b/OsmAnd/src/net/osmand/plus/osmedit/LocalOpenstreetmapActivity.java @@ -113,6 +113,7 @@ public class LocalOpenstreetmapActivity extends OsmandExpandableListActivity { return true; } else if(itemId == R.id.deletepoimod) { OpenstreetmapPoint info = (OpenstreetmapPoint) listAdapter.getChild(group, child); + db.deleteAllPOIModifications(info.getId()); listAdapter.delete(info); return true; } else if(itemId == R.id.uploadpoimods) {