Changeset 1829 in josm


Ignore:
Timestamp:
2009-07-25T11:24:54+02:00 (15 years ago)
Author:
Gubaer
Message:

fixed #3056: can't delete a way added to relation with no role
fixed #3055: can't reverse a way added to relation with no role

File:
1 edited

Legend:

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

    r1828 r1829  
    251251            return;
    252252        for (OsmPrimitive primitive : primitives) {
    253             RelationMember member = new RelationMember(null, primitive);
     253            RelationMember member = new RelationMember("", primitive);
    254254            members.add(0, member);
    255255        }
     
    267267
    268268        for (OsmPrimitive primitive : primitives) {
    269             RelationMember member = new RelationMember(null, primitive);
     269            RelationMember member = new RelationMember("", primitive);
    270270            members.add(member);
    271271        }
     
    283283
    284284        for (OsmPrimitive primitive : primitives) {
    285             RelationMember member = new RelationMember(null, primitive);
     285            RelationMember member = new RelationMember("", primitive);
    286286            members.add(idx, member);
    287287        }
     
    299299        int j = 1;
    300300        for (OsmPrimitive primitive : primitives) {
    301             RelationMember member = new RelationMember(null, primitive);
     301            RelationMember member = new RelationMember("", primitive);
    302302            members.add(idx + j, member);
    303303            j++;
     
    415415         */
    416416
    417         if (map.isEmpty()) {
     417        if (map.isEmpty())
    418418            // empty relation or incomplete members
    419419            return;
    420         }
    421420        segments = new Vector<LinkedList<Integer>>();
    422421
Note: See TracChangeset for help on using the changeset viewer.