Move variable

This commit is contained in:
Alex 2017-08-23 18:49:23 +03:00
parent 85a156d125
commit a9724b0d14

View file

@ -193,10 +193,10 @@ public class MeasurementEditingContext {
snapToRoadPairsToCalculate.add(pair);
}
}
inSnapToRoadMode = true;
this.progressBar = progressBar;
if (!snapToRoadPairsToCalculate.isEmpty() && this.progressBar != null) {
mapActivity.getMyApplication().getRoutingHelper().startRouteCalculationThread(getParams(), true, true);
inSnapToRoadMode = true;
progressBar.setVisibility(View.VISIBLE);
}
}