Changeset 7602 in josm for trunk/src/org/openstreetmap/josm


Ignore:
Timestamp:
2014-10-06T19:17:30+02:00 (10 years ago)
Author:
stoecker
Message:

fix #10598 - style icon not displayed properly in toolbar (and menu)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/mappaint/MapPaintMenu.java

    r7005 r7602  
    3333
    3434        public MapPaintAction(StyleSource style) {
    35             super(style.getDisplayString(), style.icon == null ? null : ImageProvider.getIfAvailable(style.icon),
     35            super(style.getDisplayString(), style.getIcon(),
    3636                    tr("Select the map painting styles"), null, true, "mappaint/" + style.getDisplayString(), true);
    3737            this.button = new StayOpenCheckBoxMenuItem(this);
Note: See TracChangeset for help on using the changeset viewer.