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


Ignore:
Timestamp:
2012-08-21T00:26:48+02:00 (12 years ago)
Author:
Don-vip
Message:

see #2519, see #7981 - revert r5458 to allow again several instances of a single imagery provider

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/AddImageryLayerAction.java

    r5460 r5466  
    7171    protected void updateEnabledState() {
    7272        // never enable blacklisted entries. Do not add same imagery layer twice (fix #2519)
    73         if (info.isBlacklisted() || isLayerAlreadyPresent()) {
     73        if (info.isBlacklisted() /*|| isLayerAlreadyPresent()*/) { // FIXME check disabled to allow several instances with different settings (see #7981)
    7474            setEnabled(false);
    7575        } else if (info.getImageryType() == ImageryType.TMS || info.getImageryType() == ImageryType.BING || info.getImageryType() == ImageryType.SCANEX) {
Note: See TracChangeset for help on using the changeset viewer.