Try fix issue where distances in serach history tab are not updated when origin is changed
This commit is contained in:
parent
6627a4d2b5
commit
d347cce3b3
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ public class SearchHistoryFragment extends SherlockListFragment implements Sear
|
||||||
if (location == null) {
|
if (location == null) {
|
||||||
location = ((OsmandApplication) activity.getApplication()).getSettings().getLastKnownMapLocation();
|
location = ((OsmandApplication) activity.getApplication()).getSettings().getLastKnownMapLocation();
|
||||||
}
|
}
|
||||||
|
locationUpdate(location);
|
||||||
clearButton.setVisibility(historyAdapter.isEmpty() ? View.GONE : View.VISIBLE);
|
clearButton.setVisibility(historyAdapter.isEmpty() ? View.GONE : View.VISIBLE);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue