From f9671069af5842004386712a4715b89af4085ba5 Mon Sep 17 00:00:00 2001 From: sonora Date: Sun, 11 Jan 2015 09:24:22 +0100 Subject: [PATCH] Try sync GPX track tick mark --- OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java b/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java index bbdf461f90..26d19bdfd0 100644 --- a/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java +++ b/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java @@ -131,6 +131,8 @@ public class ConfigureMapMenu { } else { ma.getMapLayers().showGPXFileLayer(getAlreadySelectedGpx(), ma.getMapView()); } + //sync tick mark + cm.item(R.string.layer_gpx_layer).selected(ma.getMyApplication().getSelectedGpxHelper().isShowingAnyGpxFiles() ? 1 : 0).reg(); } else if (itemId == R.string.layer_transport_route) { ma.getMapLayers().getTransportInfoLayer().setVisible(isChecked); }