Changeset 10364 in josm for trunk/src/org/openstreetmap/josm/command/conflict/ConflictResolveCommand.java
- Timestamp:
- 2016-06-12T20:46:23+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/conflict/ConflictResolveCommand.java
r9371 r10364 71 71 72 72 if (Main.isDisplayingMapView()) { 73 if (!Main. map.mapView.hasLayer(getLayer())) {73 if (!Main.getLayerManager().containsLayer(getLayer())) { 74 74 Main.warn(tr("Cannot undo command ''{0}'' because layer ''{1}'' is not present any more", 75 75 this.toString(), … … 79 79 } 80 80 81 Main. map.mapView.setActiveLayer(getLayer());81 Main.getLayerManager().setActiveLayer(getLayer()); 82 82 } 83 83 reconstituteConflicts();
Note:
See TracChangeset
for help on using the changeset viewer.