Fix poi modification

This commit is contained in:
Victor Shcherb 2012-06-28 01:28:21 +02:00
parent f25efb4535
commit 0e7aa8bb29

View file

@ -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) {