Changeset 9198 in josm for trunk/src/org/openstreetmap/josm/gui/io/BasicUploadSettingsPanel.java
- Timestamp:
- 2015-12-28T14:52:29+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.