From 78a3c51696a42f2798a90068ff3c32c336362378 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Mon, 17 Feb 2020 18:25:29 +0100 Subject: [PATCH] Clean up --- OsmAnd/src/net/osmand/plus/OsmandSettings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/OsmandSettings.java b/OsmAnd/src/net/osmand/plus/OsmandSettings.java index ad0c91776a..1253b42d6d 100644 --- a/OsmAnd/src/net/osmand/plus/OsmandSettings.java +++ b/OsmAnd/src/net/osmand/plus/OsmandSettings.java @@ -451,7 +451,7 @@ public class OsmandSettings { public void copyProfilePreferences(ApplicationMode modeFrom, ApplicationMode modeTo, List profilePreferences) { for (OsmandPreference pref : profilePreferences) { - if (prefCanBeCopiedOrReset(pref) && !USER_PROFILE_NAME.getId().equals(pref.getId()) && !ROUTE_RECALCULATION_DISTANCE.getId().equals(pref.getId())) { + if (prefCanBeCopiedOrReset(pref) && !USER_PROFILE_NAME.getId().equals(pref.getId())) { CommonPreference profilePref = (CommonPreference) pref; if (PARENT_APP_MODE.getId().equals(pref.getId())) { if (modeTo.isCustomProfile()) {