Changeset 12630 in josm for trunk/src/org/openstreetmap/josm/gui/io/BasicUploadSettingsPanel.java
- Timestamp:
- 2017-08-24T00:15:51+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/io/BasicUploadSettingsPanel.java
r12370 r12630 28 28 import org.openstreetmap.josm.Main; 29 29 import org.openstreetmap.josm.data.osm.Changeset; 30 import org.openstreetmap.josm.gui.MainApplication; 30 31 import org.openstreetmap.josm.gui.widgets.HistoryComboBox; 31 32 import org.openstreetmap.josm.gui.widgets.JMultilineLabel; … … 84 85 sourceLabel.addHyperlinkListener(e -> { 85 86 if (HyperlinkEvent.EventType.ACTIVATED.equals(e.getEventType())) { 86 final String source = Main .map.mapView.getLayerInformationForSourceTag();87 final String source = MainApplication.getMap().mapView.getLayerInformationForSourceTag(); 87 88 hcbUploadSource.setText(Utils.shortenString(source, Changeset.MAX_CHANGESET_TAG_LENGTH)); 88 89 // Fix #9965
Note:
See TracChangeset
for help on using the changeset viewer.