Merge pull request #8874 from osmandapp/PaulsBranch
Show streets on map if no buildings are found
This commit is contained in:
commit
f908b24ddd
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ public abstract class QuickSearchListFragment extends OsmAndListFragment {
|
||||||
|
|
||||||
showResult(sr);
|
showResult(sr);
|
||||||
} else {
|
} else {
|
||||||
if (sr.objectType == ObjectType.CITY || sr.objectType == ObjectType.VILLAGE) {
|
if (sr.objectType == ObjectType.CITY || sr.objectType == ObjectType.VILLAGE || sr.objectType == ObjectType.STREET) {
|
||||||
showResult = true;
|
showResult = true;
|
||||||
}
|
}
|
||||||
dialogFragment.completeQueryWithObject(sr);
|
dialogFragment.completeQueryWithObject(sr);
|
||||||
|
|
Loading…
Reference in a new issue