Changeset 1495 in josm for trunk/src/org
- Timestamp:
- 2009-03-17T18:56:03+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java
r1492 r1495 382 382 if(locale_text == null) 383 383 locale_text = text == null ? tr("More information about this feature") : tr(text); 384 p.add(new UrlLabel(locale_href, locale_text), GBC.eol().anchor(GBC.WEST)); 384 String url = locale_href; 385 if (url == null) { 386 url = href; 387 } 388 if (url != null) { 389 p.add(new UrlLabel(url, locale_text), GBC.eol().anchor(GBC.WEST)); 390 } 385 391 } 386 392 @Override public void addCommands(Collection<OsmPrimitive> sel, List<Command> cmds) {}
Note:
See TracChangeset
for help on using the changeset viewer.