Ignore:
Timestamp:
2017-11-19T20:12:24+01:00 (6 years ago)
Author:
Don-vip
Message:

fix #15572 - use ImageProvider attach API for all JOSM actions to ensure proper icon size everywhere

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/gpx/DownloadWmsAlongTrackAction.java

    r12636 r13130  
    4343     */
    4444    public DownloadWmsAlongTrackAction(final GpxData data) {
    45         super(tr("Precache imagery tiles along this track"), ImageProvider.get("downloadalongtrack"));
     45        super(tr("Precache imagery tiles along this track"));
     46        new ImageProvider("downloadalongtrack").getResource().attachImageIcon(this, true);
    4647        this.data = data;
    4748    }
Note: See TracChangeset for help on using the changeset viewer.