Changeset 11690 in josm


Ignore:
Timestamp:
2017-03-05T14:59:08+01:00 (7 weeks ago)
Author:
stoecker
Message:

see #14470 - don't drop imagery when default list is empty

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/imagery/ImageryLayerInfo.java

    r11570 r11690  
    273273        List<String> drop = new ArrayList<>();
    274274
     275        if (defaultLayerIds.isEmpty()) {
     276            return;
     277        }
     278       
    275279        for (Map.Entry<String, ImageryInfo> info : layerIds.entrySet()) {
    276280            if (!defaultLayerIds.containsKey(info.getKey())) {
Note: See TracChangeset for help on using the changeset viewer.