This commit is contained in:
Alexey Kulish 2016-07-16 21:08:17 +03:00
parent bd0d51c072
commit af25e1e1a5

View file

@ -265,7 +265,7 @@ public class QuickSearchDialogFragment extends DialogFragment implements OsmAndC
@Override
public int getSearchPriority(SearchPhrase p) {
if(!p.isNoSelectedType()) {
if(!p.isNoSelectedType() || p.getLastWord().isEmpty()) {
return -1;
}
return SEARCH_FAVORITE_API_PRIORITY;