Fix issue
This commit is contained in:
parent
ede90bb322
commit
a2dfac1056
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@ public class GpxSelectionHelper {
|
||||||
String load = app.getSettings().SELECTED_GPX.get();
|
String load = app.getSettings().SELECTED_GPX.get();
|
||||||
if(!Algorithms.isEmpty(load)) {
|
if(!Algorithms.isEmpty(load)) {
|
||||||
try {
|
try {
|
||||||
JSONArray ar = new JSONArray("load");
|
JSONArray ar = new JSONArray(load);
|
||||||
for(int i = 0; i < ar.length(); i++) {
|
for(int i = 0; i < ar.length(); i++) {
|
||||||
JSONObject obj = ar.getJSONObject(i);
|
JSONObject obj = ar.getJSONObject(i);
|
||||||
if(obj.has(FILE)) {
|
if(obj.has(FILE)) {
|
||||||
|
|
Loading…
Reference in a new issue