Changeset 5110 in josm for trunk/src/org/openstreetmap/josm/gui/mappaint/MapPaintMenu.java
- Timestamp:
- 2012-03-21T22:55:58+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/MapPaintMenu.java
r5088 r5110 24 24 25 25 public MapPaintAction(StyleSource style) { 26 super(style.getDisplayString(), style.icon, 27 tr("Select the map painting styles"), null, style.icon != null); 28 if (style.icon == null) { 29 putValue("toolbar", "mappaint/" + style.getDisplayString()); 30 Main.toolbar.register(this); 31 } 26 super(style.getDisplayString(), ImageProvider.getIfAvailable(style.icon), 27 tr("Select the map painting styles"), null, true, "mappaint/" + style.getDisplayString(), true); 32 28 this.button = new StayOpenCheckBoxMenuItem(this); 33 29 this.style = style;
Note:
See TracChangeset
for help on using the changeset viewer.