- Timestamp:
- 2009-05-11T17:29:50+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/historycombobox/SuggestingJHistoryComboBox.java
r1575 r1585 110 110 textField.setActionCommand("SUGGEST"); 111 111 doc.setConsumeEvents(true); 112 textField.setText(suggestion); 112 // avoid unbound recursion via setText() -> replace() -> 113 // suggest() -> setText() ... in some environments 114 if (! text.equals(suggestion)) { 115 textField.setText(suggestion); 116 } 113 117 textField.setSelectionStart(text.length()); 114 118 textField.setSelectionEnd(textField.getText().length());
Note:
See TracChangeset
for help on using the changeset viewer.