From 045e9f894b19e3cf0e895f56e9cf3b711ee1aa54 Mon Sep 17 00:00:00 2001 From: sonora Date: Sun, 12 Apr 2015 18:28:12 +0200 Subject: [PATCH] import TIntArrayList --- OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java b/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java index 73944012e6..bf6278c113 100644 --- a/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java +++ b/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java @@ -21,6 +21,7 @@ import net.osmand.plus.activities.SettingsActivity; import net.osmand.plus.activities.TransportRouteHelper; import net.osmand.plus.poi.PoiLegacyFilter; import net.osmand.plus.views.OsmandMapTileView; +import gnu.trove.list.array.TIntArrayList; import net.osmand.render.RenderingRuleProperty; import net.osmand.render.RenderingRuleStorageProperties; import net.osmand.render.RenderingRulesStorage; @@ -282,6 +283,8 @@ public class ConfigureMapMenu { if (mapContext != null) { mapContext.updateMapSettings(); } + adapter.setItemDescription(pos, activity.getMyApplication().getSettings().MAP_DENSITY.get()); + ad.notifyDataSetInvalidated() dialog.dismiss(); } });