Do not reorder markers when opening context menu
This commit is contained in:
parent
2958bdd454
commit
f2c1d68801
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue