From d347cce3b332122ed69d14065636c1624b7b74b8 Mon Sep 17 00:00:00 2001 From: sonora Date: Tue, 30 Dec 2014 01:22:14 +0100 Subject: [PATCH] Try fix issue where distances in serach history tab are not updated when origin is changed --- .../osmand/plus/activities/search/SearchHistoryFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/search/SearchHistoryFragment.java b/OsmAnd/src/net/osmand/plus/activities/search/SearchHistoryFragment.java index d08a875ca3..8b9d14450a 100644 --- a/OsmAnd/src/net/osmand/plus/activities/search/SearchHistoryFragment.java +++ b/OsmAnd/src/net/osmand/plus/activities/search/SearchHistoryFragment.java @@ -89,7 +89,7 @@ public class SearchHistoryFragment extends SherlockListFragment implements Sear if (location == null) { location = ((OsmandApplication) activity.getApplication()).getSettings().getLastKnownMapLocation(); } - + locationUpdate(location); clearButton.setVisibility(historyAdapter.isEmpty() ? View.GONE : View.VISIBLE); }