Ignore:
Timestamp:
2016-06-12T20:46:23+02:00 (8 years ago)
Author:
stoecker
Message:

gsoc-core - patch by Michael Zangl - see #12953 - remove deprecation usage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/command/conflict/ConflictResolveCommand.java

    r9371 r10364  
    7171
    7272        if (Main.isDisplayingMapView()) {
    73             if (!Main.map.mapView.hasLayer(getLayer())) {
     73            if (!Main.getLayerManager().containsLayer(getLayer())) {
    7474                Main.warn(tr("Cannot undo command ''{0}'' because layer ''{1}'' is not present any more",
    7575                        this.toString(),
     
    7979            }
    8080
    81             Main.map.mapView.setActiveLayer(getLayer());
     81            Main.getLayerManager().setActiveLayer(getLayer());
    8282        }
    8383        reconstituteConflicts();
Note: See TracChangeset for help on using the changeset viewer.