Fixed bug when it's not possible to change custom filter after setting in once in waypoints
This commit is contained in:
parent
af5c7e65fd
commit
6923a489ad
1 changed files with 11 additions and 0 deletions
|
@ -475,8 +475,19 @@ public class WaypointDialogHelper implements OsmAndLocationListener {
|
|||
}
|
||||
|
||||
});
|
||||
|
||||
TextView tv = (TextView) v.findViewById(R.id.header_text);
|
||||
tv.setText(getHeader(type, checked, ctx));
|
||||
v.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View view) {
|
||||
if (type == WaypointHelper.POI && btn.isChecked()){
|
||||
running[0] = position;
|
||||
thisAdapter.notifyDataSetInvalidated();
|
||||
selectPoi(running, thisAdapter, type, true, ctx);
|
||||
}
|
||||
}
|
||||
});
|
||||
return v;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue