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; private GPXFile gpx;
@Override @Override
protected Void doInBackground(Void... params) { protected Void doInBackground(Void... params) {
if (stage.gpxFile != null){
gpx = GPXUtilities.loadGPXFile(app, stage.gpxFile); gpx = GPXUtilities.loadGPXFile(app, stage.gpxFile);
}
return null; return null;
} }
protected void onPostExecute(Void result) { protected void onPostExecute(Void result) {