Changeset 540 in josm for trunk


Ignore:
Timestamp:
2008-02-13T21:40:51+01:00 (16 years ago)
Author:
framm
Message:
  • show relation's ID in relation editor title bar
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/RelationEditor.java

    r348 r540  
    100100        public RelationEditor(Relation relation)
    101101        {
    102                 super(tr("Edit Relation"));
     102                super(relation == null ? tr("Create new relation") :
     103                        relation.id == 0 ? tr ("Edit new relation") :
     104                        tr("Edit relation #{0}", relation.id));
    103105                this.relation = relation;
    104106               
Note: See TracChangeset for help on using the changeset viewer.