From 072ac74af5f4eec66f14d524af9abe742aa903dc Mon Sep 17 00:00:00 2001 From: sonora Date: Sun, 15 Jan 2012 10:26:37 +0100 Subject: [PATCH] fix small bug when deleting favorites --- OsmAnd/src/net/osmand/plus/activities/FavouritesActivity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/FavouritesActivity.java b/OsmAnd/src/net/osmand/plus/activities/FavouritesActivity.java index 5b330c697e..075aaa5146 100644 --- a/OsmAnd/src/net/osmand/plus/activities/FavouritesActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/FavouritesActivity.java @@ -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(){ @Override @@ -214,7 +214,7 @@ public class FavouritesActivity extends ExpandableListActivity { } }); - } +// } }