Changeset 8877 in josm for trunk/data


Ignore:
Timestamp:
2015-10-14T23:48:08+02:00 (9 years ago)
Author:
simon04
Message:

fix #11926 - Presets: option to disable alphabetic sorting for a single key

Specify the values_sort="false" attribute for the <combo> of
<multiselect>.

Location:
trunk/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r8872 r8877  
    1818    <chunk id="surface_smoothness">
    1919        <reference ref="surface" />
    20         <combo key="smoothness" text="Smoothness" values_searchable="true">
     20        <combo key="smoothness" text="Smoothness" values_searchable="true" values_sort="false">
    2121            <list_entry value="excellent" short_description="Thin Rollers: rollerblade, skateboard" />
    2222            <list_entry value="good" short_description="Thin Wheels: racing bike" />
  • trunk/data/tagging-preset.xsd

    r8872 r8877  
    205205                <attribute name="values_context" type="string" />
    206206                <attribute name="values_no_i18n" type="boolean" />
     207                <attribute name="values_sort" type="boolean" />
    207208                <attribute name="display_values" type="string" />
    208209                <attribute name="values_searchable" type="boolean" />
Note: See TracChangeset for help on using the changeset viewer.