Changeset 3920 in josm
- Timestamp:
- 2011-02-20T16:58:49+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/GenericRelationEditor.java
r3640 r3920 1545 1545 1546 1546 toAdd = filterConfirmedPrimitives(toAdd); 1547 memberTableModel.addMembersAfterIdx(toAdd, memberTableModel 1548 .getSelectionModel().getMaxSelectionIndex()); 1547 int index = memberTableModel.getSelectionModel().getMaxSelectionIndex(); 1548 if (index == -1) { 1549 index = memberTableModel.getRowCount() - 1; 1550 } 1551 memberTableModel.addMembersAfterIdx(toAdd, index); 1549 1552 1550 1553 tfRole.requestFocusInWindow();
Note:
See TracChangeset
for help on using the changeset viewer.