diff --git a/OsmAnd/src/net/osmand/plus/GpxSelectionHelper.java b/OsmAnd/src/net/osmand/plus/GpxSelectionHelper.java index dbfaabac37..64d43a3b97 100644 --- a/OsmAnd/src/net/osmand/plus/GpxSelectionHelper.java +++ b/OsmAnd/src/net/osmand/plus/GpxSelectionHelper.java @@ -60,7 +60,7 @@ public class GpxSelectionHelper { savingTrackHelper = trackHelper; } - public void clearAllGpxFileToShow(boolean backupSelection) { + public void clearAllGpxFilesToShow(boolean backupSelection) { selectedGpxFilesBackUp.clear(); if (backupSelection) { for(SelectedGpxFile s : selectedGPXFiles) { diff --git a/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java b/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java index 05089508f0..09bb1d93e7 100644 --- a/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java +++ b/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java @@ -219,7 +219,7 @@ public class ConfigureMapMenu { } else if (itemId == R.string.layer_gpx_layer) { final GpxSelectionHelper selectedGpxHelper = ma.getMyApplication().getSelectedGpxHelper(); if (selectedGpxHelper.isShowingAnyGpxFiles()) { - selectedGpxHelper.clearAllGpxFileToShow(true); + selectedGpxHelper.clearAllGpxFilesToShow(true); adapter.getItem(pos).setDescription(selectedGpxHelper.getGpxDescription()); } else { showGpxSelectionDialog(adapter, adapter.getItem(pos)); diff --git a/OsmAnd/src/net/osmand/plus/helpers/GpxUiHelper.java b/OsmAnd/src/net/osmand/plus/helpers/GpxUiHelper.java index 78111c3260..c0a7701a81 100644 --- a/OsmAnd/src/net/osmand/plus/helpers/GpxUiHelper.java +++ b/OsmAnd/src/net/osmand/plus/helpers/GpxUiHelper.java @@ -613,7 +613,7 @@ public class GpxUiHelper { //clear all previously selected files before adding new one OsmandApplication app = (OsmandApplication) activity.getApplication(); if (app != null && app.getSelectedGpxHelper() != null) { - app.getSelectedGpxHelper().clearAllGpxFileToShow(false); + app.getSelectedGpxHelper().clearAllGpxFilesToShow(false); } if (app != null && showCurrentGpx && adapter.getItem(0).getSelected()) { currentGPX = app.getSavingTrackHelper().getCurrentGpx(); diff --git a/OsmAnd/src/net/osmand/plus/quickaction/actions/ShowHideGpxTracksAction.java b/OsmAnd/src/net/osmand/plus/quickaction/actions/ShowHideGpxTracksAction.java index b460f3163d..b63f6eff2a 100644 --- a/OsmAnd/src/net/osmand/plus/quickaction/actions/ShowHideGpxTracksAction.java +++ b/OsmAnd/src/net/osmand/plus/quickaction/actions/ShowHideGpxTracksAction.java @@ -36,7 +36,7 @@ public class ShowHideGpxTracksAction extends QuickAction { final GpxSelectionHelper selectedGpxHelper = activity.getMyApplication() .getSelectedGpxHelper(); if (selectedGpxHelper.isShowingAnyGpxFiles()) { - selectedGpxHelper.clearAllGpxFileToShow(true); + selectedGpxHelper.clearAllGpxFilesToShow(true); } else { selectedGpxHelper.restoreSelectedGpxFiles(); }