Fix crash
This commit is contained in:
parent
67c941eb43
commit
9d5b24afbd
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ public class QuickSearchListItem {
|
|||
PointDescription pd = historyEntry.getName();
|
||||
return pd.getSimpleName(app, false);
|
||||
case LOCATION:
|
||||
LatLon latLon = (LatLon) searchResult.object;
|
||||
LatLon latLon = searchResult.location;
|
||||
return PointDescription.getLocationNamePlain(app, latLon.getLatitude(), latLon.getLongitude());
|
||||
}
|
||||
return searchResult.localeName;
|
||||
|
|
Loading…
Reference in a new issue