Merge pull request #865 from Bars107/master

Fixes to sherpafy.
This commit is contained in:
vshcherb 2014-09-05 12:23:14 +02:00
commit 0d99d5726c

View file

@ -74,7 +74,9 @@ public class SherpafyStageItineraryFragment extends SherpafyStageInfoFragment im
private GPXFile gpx;
@Override
protected Void doInBackground(Void... params) {
gpx = GPXUtilities.loadGPXFile(app, stage.gpxFile);
if (stage.gpxFile != null){
gpx = GPXUtilities.loadGPXFile(app, stage.gpxFile);
}
return null;
}
protected void onPostExecute(Void result) {