1 | ### Eclipse Workspace Patch 1.0
|
---|
2 | #P JOSM
|
---|
3 | Index: src/org/openstreetmap/josm/gui/tagging/TagCellEditor.java
|
---|
4 | ===================================================================
|
---|
5 | --- src/org/openstreetmap/josm/gui/tagging/TagCellEditor.java (revision 4088)
|
---|
6 | +++ src/org/openstreetmap/josm/gui/tagging/TagCellEditor.java (working copy)
|
---|
7 | @@ -93,6 +93,10 @@
|
---|
8 | Object value, boolean isSelected, int row, int column) {
|
---|
9 | currentTag = (TagModel) value;
|
---|
10 |
|
---|
11 | + // no autocompletion for initial editor#setText()
|
---|
12 | + if(autoCompletionList != null) {
|
---|
13 | + autoCompletionList.clear();
|
---|
14 | + }
|
---|
15 | if (column == 0) {
|
---|
16 | editor.setText(currentTag.getName());
|
---|
17 | TagEditorModel model = (TagEditorModel)table.getModel();
|
---|