fix small bug when deleting favorites

This commit is contained in:
sonora 2012-01-15 10:26:37 +01:00
parent 272f20d439
commit 072ac74af5

View file

@ -195,7 +195,7 @@ public class FavouritesActivity extends ExpandableListActivity {
final LatLon mapLocation = OsmandSettings.getOsmandSettings(this).getLastKnownMapLocation();
favouritesAdapter.synchronizeGroups();
if(mapLocation != null){
// if(mapLocation != null){
favouritesAdapter.sort(new Comparator<FavouritePoint>(){
@Override
@ -214,7 +214,7 @@ public class FavouritesActivity extends ExpandableListActivity {
}
});
}
// }
}