Changeset 7176 in josm


Ignore:
Timestamp:
2014-05-24T16:33:03+02:00 (10 years ago)
Author:
bastiK
Message:

sort dynamic entries in imagery menu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/ImageryMenu.java

    r7075 r7176  
    1212import java.util.ArrayList;
    1313import java.util.Collection;
    14 import java.util.HashSet;
    1514import java.util.Iterator;
    1615import java.util.List;
    1716import java.util.Set;
     17import java.util.TreeSet;
    1818
    1919import javax.swing.Action;
     
    136136            MapView mv = Main.map.mapView;
    137137            LatLon pos = mv.getProjection().eastNorth2latlon(mv.getCenter());
    138             final Set<ImageryInfo> inViewLayers = new HashSet<>();
     138            final Set<ImageryInfo> inViewLayers = new TreeSet<>();
    139139
    140140            for (ImageryInfo i : ImageryLayerInfo.instance.getDefaultLayers()) {
Note: See TracChangeset for help on using the changeset viewer.