fix search
This commit is contained in:
parent
68b371f80f
commit
50aabf397f
1 changed files with 3 additions and 0 deletions
|
@ -268,6 +268,9 @@ public class MapActivityLayers {
|
|||
builder.setAdapter(listAdapter, new DialogInterface.OnClickListener(){
|
||||
@Override
|
||||
public void onClick(DialogInterface dialog, int which) {
|
||||
if (which == 0) {
|
||||
which = list.size() + 1
|
||||
}
|
||||
PoiLegacyFilter pf = list.get(which - 1);
|
||||
String filterId = pf.getFilterId();
|
||||
if(filterId.equals(PoiLegacyFilter.CUSTOM_FILTER_ID)){
|
||||
|
|
Loading…
Reference in a new issue