Changeset 5530 in josm


Ignore:
Timestamp:
2012-10-04T23:31:21+02:00 (12 years ago)
Author:
bastiK
Message:

see #7789 - Map icons sometimes disapear after an "Update Data" command

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/mappaint/xml/XmlStyleSource.java

    r5342 r5530  
    109109
    110110    private <T extends Prototype> T update(T current, T candidate, Double scale, MultiCascade mc) {
    111         return requiresUpdate(current, candidate, scale, mc) ? candidate : current;
     111        if (requiresUpdate(current, candidate, scale, mc))
     112            return candidate;
     113        else
     114            return current;
    112115    }
    113116
Note: See TracChangeset for help on using the changeset viewer.