Changeset 3605 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2010-10-13T22:02:45+02:00 (14 years ago)
Author:
jttt
Message:

Fix #4628 Keep the ordering when selecting highlighted relation members

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/MemberTableModel.java

    r3416 r3605  
    502502     * @return the set of selected referers
    503503     */
    504     public Set<OsmPrimitive> getSelectedChildPrimitives() {
    505         HashSet<OsmPrimitive> ret = new HashSet<OsmPrimitive>();
     504    public Collection<OsmPrimitive> getSelectedChildPrimitives() {
     505        Collection<OsmPrimitive> ret = new ArrayList<OsmPrimitive>();
    506506        for (RelationMember m: getSelectedMembers()) {
    507507            ret.add(m.getMember());
Note: See TracChangeset for help on using the changeset viewer.