remove notifyDatSetChanged
This commit is contained in:
parent
8ebd6e198a
commit
1f99120f9c
1 changed files with 0 additions and 2 deletions
|
@ -109,7 +109,6 @@ public class ConfigureMapMenu {
|
|||
ma.getMapLayers().showGPXFileLayer(getAlreadySelectedGpx(), ma.getMapView());
|
||||
//sync tick mark
|
||||
cm.item(R.string.layer_gpx_layer).selected(ma.getMyApplication().getSelectedGpxHelper().isShowingAnyGpxFiles() ? 1 : 0).reg();
|
||||
adapter.notifyDataSetChanged();
|
||||
return false;
|
||||
} else {
|
||||
return super.onRowItemClick(adapter, view, itemId, pos);
|
||||
|
@ -136,7 +135,6 @@ public class ConfigureMapMenu {
|
|||
}
|
||||
//sync tick mark
|
||||
cm.item(R.string.layer_gpx_layer).selected(ma.getMyApplication().getSelectedGpxHelper().isShowingAnyGpxFiles() ? 1 : 0).reg();
|
||||
adapter.notifyDataSetChanged();
|
||||
} else if (itemId == R.string.layer_transport_route) {
|
||||
ma.getMapLayers().getTransportInfoLayer().setVisible(isChecked);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue