Changeset 7687 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/ToolbarPreferences.java
- Timestamp:
- 2014-11-01T23:00:42+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/ToolbarPreferences.java
r7668 r7687 124 124 125 125 public Icon getDisplayIcon() { 126 return ico != null ? ico : (Icon) action.getValue(Action.SMALL_ICON); 126 if(ico != null) 127 return ico; 128 Object o = action.getValue(Action.LARGE_ICON_KEY); 129 if(o == null) 130 o = action.getValue(Action.SMALL_ICON); 131 return (Icon) o; 127 132 } 128 133
Note:
See TracChangeset
for help on using the changeset viewer.