This commit is contained in:
xmd5a 2015-04-14 23:27:12 +03:00
commit 7d1e389b94

View file

@ -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() + 2;
}
PoiLegacyFilter pf = list.get(which - 1);
String filterId = pf.getFilterId();
if(filterId.equals(PoiLegacyFilter.CUSTOM_FILTER_ID)){