Changeset 1851 in josm


Ignore:
Timestamp:
2009-07-26T11:21:01+02:00 (15 years ago)
Author:
Gubaer
Message:

fixed #3095: Unable to add selection to a relation

File:
1 edited

Legend:

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

    r1847 r1851  
    732732                    continue;
    733733                }
    734                 if (isPotentialDuplicate(primitive) && confirmAddingPrimtive(primitive)) {
     734                if (isPotentialDuplicate(primitive))  {
     735                    if (confirmAddingPrimtive(primitive)) {
     736                        ret.add(primitive);
     737                    }
     738                    continue;
     739                } else {
    735740                    ret.add(primitive);
    736741                }
Note: See TracChangeset for help on using the changeset viewer.