Changeset 15421 in josm


Ignore:
Timestamp:
2019-10-05T16:26:14+02:00 (5 years ago)
Author:
Don-vip
Message:

display GPX creator field in GPX layer info component

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/GpxLayer.java

    r15397 r15421  
    4949import org.openstreetmap.josm.gui.widgets.HtmlPanel;
    5050import org.openstreetmap.josm.tools.ImageProvider;
     51import org.openstreetmap.josm.tools.Utils;
    5152import org.openstreetmap.josm.tools.date.DateUtils;
    5253
     
    156157        if (data.attr.containsKey("desc")) {
    157158            info.append(tr("Description: {0}", data.get(GpxConstants.META_DESC))).append("<br>");
     159        }
     160
     161        if (!Utils.isStripEmpty(data.creator)) {
     162            info.append(tr("Creator: {0}", data.creator)).append("<br>");
    158163        }
    159164
Note: See TracChangeset for help on using the changeset viewer.