- Timestamp:
- 2009-10-25T14:14:56+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/ToolbarPreferences.java
r2302 r2316 496 496 else { 497 497 Action a = getAction(s); 498 JButton b = control.add(a); 499 String tt = (String) a.getValue(TaggingPreset.OPTIONAL_TOOLTIP_TEXT); 500 if (tt != null) { 501 b.setToolTipText(tt); 498 if(a != null) 499 { 500 JButton b = control.add(a); 501 Object tt = a.getValue(TaggingPreset.OPTIONAL_TOOLTIP_TEXT); 502 if (tt != null) 503 b.setToolTipText((String)tt); 502 504 } 503 505 }
Note:
See TracChangeset
for help on using the changeset viewer.