Changeset 2250 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2009-10-05T21:39:15+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/UrlLabel.java
r2243 r2250 34 34 protected void refresh() { 35 35 setContentType("text/html"); 36 setText("<html><a href=\""+url+"\">"+description+"</a></html>"); 36 if (url != null) { 37 setText("<html><a href=\""+url+"\">"+description+"</a></html>"); 38 } else { 39 setText("<html>" + description + "</html>"); 40 } 37 41 setToolTipText(url); 38 42 }
Note:
See TracChangeset
for help on using the changeset viewer.
