Changeset 715 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2008-07-13T18:36:22+02:00 (16 years ago)
Author:
stoecker
Message:

added layer to water presets

Location:
trunk/src/org/openstreetmap/josm/gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/ToolbarPreferences.java

    r694 r715  
    147147                        String name = a.getValue(a.NAME).toString();
    148148                        if(!name.equals(" "))
    149                                 us.put(a.getValue(a.NAME).toString(), a);
     149                                us.put(a.getValue(a.NAME).toString()+a.toString(), a);
    150150                }
    151151                for (String a : us.keySet())
  • trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java

    r702 r715  
    349349        public void setDisplayName(String name) {
    350350                putValue(Action.NAME, tr(name));
    351                 String tooltip = tr("Use presets ''{0}''", tr(name));
     351                String tooltip = tr("Use preset ''{0}''", tr(name));
    352352                putValue(SHORT_DESCRIPTION, "<html>"+tooltip+"</html>");
    353353        }
Note: See TracChangeset for help on using the changeset viewer.