Changeset 7551 in josm


Ignore:
Timestamp:
2014-09-17T16:39:37+02:00 (10 years ago)
Author:
Don-vip
Message:

fix #10524 - IndexOutOfBoundsException in relation dialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/MemberTableModel.java

    r7128 r7551  
    205205    @Override
    206206    public void setValueAt(Object value, int rowIndex, int columnIndex) {
     207        // fix #10524 - IndexOutOfBoundsException: Index: 2, Size: 2
     208        if (rowIndex >= members.size()) {
     209            return;
     210        }
    207211        RelationMember member = members.get(rowIndex);
    208212        RelationMember newMember = new RelationMember(value.toString(), member.getMember());
Note: See TracChangeset for help on using the changeset viewer.