Fix interpolation address look up

This commit is contained in:
Victor Shcherb 2012-09-15 02:08:15 +02:00
parent 7235f8f4c9
commit c3506db69d

View file

@ -87,6 +87,14 @@ public class SearchBuildingByNameActivity extends SearchByNameAbstractActivity<B
return obj.getName(region.useEnglishNames());
}
@Override
public String getShortText(Building obj) {
if(obj.getInterpolationInterval() > 0 || obj.getInterpolationType() != null){
return "";
}
return super.getShortText(obj);
}
@Override
public void itemSelected(Building obj) {