Changeset 17035 in josm for trunk/src/org


Ignore:
Timestamp:
2020-09-17T13:25:49+02:00 (4 years ago)
Author:
stoecker
Message:

fix #19808 - add icon for taghistory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/properties/TaginfoAction.java

    r16877 r17035  
    153153    public TaginfoAction toTagHistoryAction() {
    154154        String url = TAG_HISTORY_URL_PROP.get();
    155         return new TaginfoAction(tr("Go to OSM Tag History"), tagSupplier, relationTypeSupplier, url) {
     155        TaginfoAction action = new TaginfoAction(tr("Go to OSM Tag History"), tagSupplier, relationTypeSupplier, url) {
    156156            @Override
    157157            public String getTaginfoUrlForTag(Tag tag) {
     
    164164            }
    165165        };
     166        new ImageProvider("dialogs/taghistory").getResource().attachImageIcon(action, true);
     167        return action;
    166168    }
    167169}
Note: See TracChangeset for help on using the changeset viewer.