Changeset 18098 in josm for trunk/src/org
- Timestamp:
- 2021-08-01T18:09:14+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/ac/AutoCompletingComboBox.java
r15885 r18098 158 158 } 159 159 160 setSelectedItem(item);161 160 if (initial) { 162 161 start = 0; … … 168 167 super.remove(0, size); 169 168 super.insertString(0, newText, a); 169 AutoCompletingComboBox.this.setSelectedItem(item); 170 170 selecting = false; 171 171 start = size; … … 185 185 editorComponent.select(start, end); 186 186 } 187 }188 189 private void setSelectedItem(Object item) {190 selecting = true;191 AutoCompletingComboBox.this.setSelectedItem(item);192 selecting = false;193 187 } 194 188
Note:
See TracChangeset
for help on using the changeset viewer.