- Timestamp:
- 2015-12-28T14:52:29+01:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MapView.java
r9078 r9198 1151 1151 } 1152 1152 for (final GeoImageLayer i : getLayersOfType(GeoImageLayer.class)) { 1153 layerInfo.add(i.getName()); 1153 if (i.isVisible()) { 1154 layerInfo.add(i.getName()); 1155 } 1154 1156 } 1155 1157 for (final ImageryLayer i : getLayersOfType(ImageryLayer.class)) { 1156 layerInfo.add(ImageryInfo.ImageryType.BING.equals(i.getInfo().getImageryType()) ? "Bing" : i.getName()); 1158 if (i.isVisible()) { 1159 layerInfo.add(ImageryInfo.ImageryType.BING.equals(i.getInfo().getImageryType()) ? "Bing" : i.getName()); 1160 } 1157 1161 } 1158 1162 return Utils.join("; ", layerInfo); -
trunk/src/org/openstreetmap/josm/gui/io/BasicUploadSettingsPanel.java
r8510 r9198 32 32 import org.openstreetmap.josm.tools.CheckParameterUtil; 33 33 import org.openstreetmap.josm.tools.GBC; 34 import org.openstreetmap.josm.tools.Utils; 34 35 35 36 /** … … 73 74 public void hyperlinkUpdate(HyperlinkEvent e) { 74 75 if (HyperlinkEvent.EventType.ACTIVATED.equals(e.getEventType())) { 75 hcbUploadSource.setText(Main.map.mapView.getLayerInformationForSourceTag()); 76 final String source = Main.map.mapView.getLayerInformationForSourceTag(); 77 hcbUploadSource.setText(Utils.shortenString(source, Changeset.MAX_CHANGESET_TAG_LENGTH)); 76 78 // Fix #9965 77 79 changesetSourceModel.setComment(hcbUploadSource.getText());
Note:
See TracChangeset
for help on using the changeset viewer.