Ignore:
Timestamp:
2016-02-24T22:48:05+01:00 (8 years ago)
Author:
simon04
Message:

fix #12488 - Fix ArrayIndexOutOfBoundsException when using tag filter in properties dialog

File:
1 edited

Legend:

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

    r9795 r9877  
    668668                }
    669669                for (int i = 0; i < tagData.getRowCount(); ++i) {
    670                     if (item.getValue().equals(getDataKey(i))) {
     670                    if (item.getValue().equals(tagData.getValueAt(i, 0) /* sic! do not use getDataKey*/)) {
    671671                        if (itemToSelect == item) {
    672672                            itemToSelect = null;
Note: See TracChangeset for help on using the changeset viewer.