Fixed bug when user changes routing parameter and racalculation of route doesn't occur.
This commit is contained in:
parent
25a1910829
commit
27d6a02006
1 changed files with 2 additions and 2 deletions
|
@ -296,9 +296,9 @@ public class MapRoutePreferencesControl extends MapControls {
|
|||
//if short way that it should set valut to fast mode opposite of current
|
||||
if (rp.routingParameter != null && rp.routingParameter.getId().equals("short_way")){
|
||||
settings.FAST_ROUTE_MODE.set(!isChecked);
|
||||
} else {
|
||||
rp.setSelected(settings, isChecked);
|
||||
}
|
||||
rp.setSelected(settings, isChecked);
|
||||
|
||||
if(rp instanceof OtherLocalRoutingParameter) {
|
||||
updateGpxRoutingParameter((OtherLocalRoutingParameter) rp);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue