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


Ignore:
Timestamp:
2008-07-30T08:24:37+02:00 (16 years ago)
Author:
stoecker
Message:

added hopefully last fix to AutoCompletion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/AutoCompleteComboBox.java

    r739 r741  
    3939                        if(selecting || (offs == 0 && str.equals(getText(0, getLength()))))
    4040                                return;
    41                         boolean initial = (offs == 0 && getLength() == 0);
     41                        boolean initial = (offs == 0 && getLength() == 0 && str.length() > 1);
    4242                        super.insertString(offs, str, a);
    4343
Note: See TracChangeset for help on using the changeset viewer.