Changeset 5021 in josm for trunk


Ignore:
Timestamp:
2012-02-23T21:42:54+01:00 (8 years ago)
Author:
stoecker
Message:

use display value in tagging presets also for combo default entry

File:
1 edited

Legend:

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

    r4968 r5021  
    651651                if (!usage.hadKeys() || PROP_FILL_DEFAULT.get() || "force".equals(use_last_as_default)) {
    652652                    // selected osm primitives are untagged or filling default feature is enabled
    653                     combo.setSelectedItem(def);
     653                    combo.setSelectedItem(lhm.get(def).display_value);
    654654                } else {
    655655                    // selected osm primitives are tagged and filling default feature is disabled
Note: See TracChangeset for help on using the changeset viewer.