Merge pull request #6905 from osmandapp/gpx_list_fix
fix for gpx selection issue #6515
This commit is contained in:
commit
d11d1f94b8
1 changed files with 9 additions and 6 deletions
|
@ -161,6 +161,7 @@ public class ConfigureMapMenu {
|
|||
for (GpxSelectionHelper.SelectedGpxFile file : selectedGpxFiles) {
|
||||
files.add(file.getGpxFile().path);
|
||||
}
|
||||
if (selectedGpxFiles.isEmpty()) {
|
||||
Map<GPXUtilities.GPXFile, Long> fls = selectedGpxHelper.getSelectedGpxFilesBackUp();
|
||||
for(Map.Entry<GPXUtilities.GPXFile, Long> f : fls.entrySet()) {
|
||||
if(!Algorithms.isEmpty(f.getKey().path)) {
|
||||
|
@ -170,6 +171,8 @@ public class ConfigureMapMenu {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return files;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue