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/dialogs/relation/actions/DuplicateRelationAction.java

    r9665 r13130  
    3333        putValue(SHORT_DESCRIPTION, tr("Create a copy of this relation and open it in another editor window"));
    3434        // FIXME provide an icon
    35         putValue(SMALL_ICON, ImageProvider.get("duplicate"));
     35        new ImageProvider("duplicate").getResource().attachImageIcon(this, true);
    3636        putValue(NAME, tr("Duplicate"));
    3737        setEnabled(true);
Note: See TracChangeset for help on using the changeset viewer.