Changeset 9840 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/LayerListDialog.java
- Timestamp:
- 2016-02-19T23:41:45+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/LayerListDialog.java
r9818 r9840 1656 1656 break; 1657 1657 case 1: 1658 if (Main.map.mapView.getNativeScaleLayer() == l) { 1658 NativeScaleLayer oldLayer = Main.map.mapView.getNativeScaleLayer(); 1659 if (oldLayer == l) { 1659 1660 Main.map.mapView.setNativeScaleLayer(null); 1660 1661 } else if (l instanceof NativeScaleLayer) { 1661 1662 Main.map.mapView.setNativeScaleLayer((NativeScaleLayer) l); 1663 if (oldLayer != null) { 1664 int idx = getLayers().indexOf(oldLayer); 1665 if (idx >= 0) { 1666 fireTableCellUpdated(idx, col); 1667 } 1668 } 1662 1669 } 1663 1670 break;
Note:
See TracChangeset
for help on using the changeset viewer.