From 852a9e338adc6dcf537fb84782b4a05c90e14b2f Mon Sep 17 00:00:00 2001 From: sonora Date: Thu, 11 Sep 2014 02:03:06 +0200 Subject: [PATCH] add comment --- OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java b/OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java index 79f298475d..d83607e825 100644 --- a/OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java +++ b/OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java @@ -419,7 +419,7 @@ public class WaypointHelper { protected void recalculatePoints(RouteCalculationResult route, int type, List> locationPoints) { - //sync SHOW settings not otherwise accessible in settings menu + //sync SHOW settings not otherwise accessible in settings menu (needed so that waypoint dialogue correctly inflates selected categories upon startup) app.getSettings().SHOW_NEARBY_POI.set(app.getSettings().ANNOUNCE_NEARBY_POI.get()); app.getSettings().SHOW_NEARBY_FAVORITES.set(app.getSettings().ANNOUNCE_NEARBY_FAVORITES.get()); app.getSettings().SHOW_WPT.set(app.getSettings().ANNOUNCE_WPT.get());