Ignore:
Timestamp:
06.02.2010 17:37:52 (2 years ago)
Author:
bastiK
Message:

autocompletion: Always add the preset keys/values to the autocompletion list.
Does not apply to the Properties dialog, because it has a seperate implementation of the autocompletion feature.

File:
1 edited

Legend:

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

    r2905 r2946  
    8282            if (layer == null) return; 
    8383            AutoCompletionList list  = new AutoCompletionList(); 
    84             List<String> values = AutoCompletionCache.getCacheForLayer(Main.main.getEditLayer()).getValues(key); 
    85             list.add(values,AutoCompletionItemPritority.IS_IN_DATASET); 
     84            AutoCompletionCache.getCacheForLayer(Main.main.getEditLayer()).populateWithTagValues(list, key, false); 
    8685            field.setAutoCompletionList(list); 
    8786        } 
Note: See TracChangeset for help on using the changeset viewer.