This commit is contained in:
Victor Shcherb 2015-04-03 12:26:55 +02:00
parent 505fb12209
commit e3a6c686d3

View file

@ -157,7 +157,7 @@ public class DashTrackFragment extends DashBaseFragment {
} }
} }
private void updateShowOnMap(final OsmandApplication app, final File f, View v, final ImageButton showOnMap) { private void updateShowOnMap(final OsmandApplication app, final File f, final View pView, final ImageButton showOnMap) {
final GpxSelectionHelper selectedGpxHelper = app.getSelectedGpxHelper(); final GpxSelectionHelper selectedGpxHelper = app.getSelectedGpxHelper();
final SelectedGpxFile selected = selectedGpxHelper.getSelectedFileByPath(f.getAbsolutePath()); final SelectedGpxFile selected = selectedGpxHelper.getSelectedFileByPath(f.getAbsolutePath());
if(selected != null) { if(selected != null) {
@ -169,7 +169,7 @@ public class DashTrackFragment extends DashBaseFragment {
AvailableGPXFragment.GpxInfo info = new AvailableGPXFragment.GpxInfo(); AvailableGPXFragment.GpxInfo info = new AvailableGPXFragment.GpxInfo();
info.subfolder = ""; info.subfolder = "";
info.file = f; info.file = f;
AvailableGPXFragment.udpateGpxInfoView(v, info, app, true); AvailableGPXFragment.udpateGpxInfoView(pView, info, app, true);
updateShowOnMap(app, f, v, showOnMap); updateShowOnMap(app, f, v, showOnMap);
} }
}); });