Do not reorder markers when opening context menu

This commit is contained in:
PavelRatushny 2017-10-11 18:17:44 +03:00
parent 2958bdd454
commit f2c1d68801

View file

@ -461,10 +461,6 @@ public class MapMarkersLayer extends OsmandMapLayer implements IContextMenuProvi
@Override
public void setSelectedObject(Object o) {
if (o instanceof MapMarker) {
map.getMyApplication().getMapMarkersHelper().moveMarkerToTop((MapMarker) o);
map.getMyApplication().getSettings().MAP_MARKERS_ORDER_BY_MODE.set(OsmandSettings.MapMarkersOrderByMode.CUSTOM);
}
}
@Override