Changeset 3213 in josm


Ignore:
Timestamp:
2010-04-27T19:04:10+02:00 (10 years ago)
Author:
bastiK
Message:

see #4899 (fixed bug from the autocomplete rework)

File:
1 edited

Legend:

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

    r3210 r3213  
    109109
    110110    protected void cachePrimitives(Collection<? extends OsmPrimitive> primitives) {
     111        if (tagCache == null) {
     112            // We are coming from a DataSetListener event and
     113            // rebuild has not been called yet, so do it now and
     114            // ignore the method parameter.
     115            rebuild();
     116            return;
     117        }
    111118        for (OsmPrimitive primitive : primitives) {
    112119            cachePrimitiveTags(primitive);
Note: See TracChangeset for help on using the changeset viewer.