Changeset 4141 in josm


Ignore:
Timestamp:
2011-06-18T17:15:02+02:00 (13 years ago)
Author:
stoecker
Message:

fix #6430 - don't prefill single characters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java

    r4140 r4141  
    433433        if (itemToSelect != null) {
    434434            keys.setSelectedItem(itemToSelect);
    435             values.setSelectedItem(lastAddValue);
     435            /* don't add single chars, as they are no properly selected */
     436            if(lastAddValue != null && lastAddValue.length() > 1)
     437                values.setSelectedItem(lastAddValue);
    436438        }
    437439
Note: See TracChangeset for help on using the changeset viewer.