Changeset 3949 in josm for trunk


Ignore:
Timestamp:
2011-03-04T11:00:02+01:00 (14 years ago)
Author:
stoecker
Message:

fix #6052 - preset tooltips missing - again a regression by Gubaer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java

    r3861 r3949  
    10651065        putValue(Action.NAME, getName());
    10661066        putValue("toolbar", "tagging_" + getRawName());
    1067     }
     1067        putValue(OPTIONAL_TOOLTIP_TEXT, (group != null ?
     1068            tr("Use preset ''{0}'' of group ''{1}''", getLocaleName(), group.getName()) :
     1069            tr("Use preset ''{0}''", getLocaleName())));
     1070   }
    10681071
    10691072    public String getLocaleName() {
Note: See TracChangeset for help on using the changeset viewer.