Changeset 9388 in josm


Ignore:
Timestamp:
2016-01-10T14:44:11+01:00 (9 years ago)
Author:
simon04
Message:

see #12300 - Invalidate connection icons after dropping new members

File:
1 edited

Legend:

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

    r9369 r9388  
    456456            members.add(idx++, member);
    457457        }
     458        invalidateConnectionType();
    458459        fireTableRowsInserted(index, idx - 1);
    459460    }
     
    755756    @Override
    756757    public void tableChanged(TableModelEvent e) {
     758        invalidateConnectionType();
     759    }
     760
     761    private void invalidateConnectionType() {
    757762        connectionType = null;
    758763    }
Note: See TracChangeset for help on using the changeset viewer.