Changeset 2506 in josm
- Timestamp:
- 2009-11-22T20:23:13+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/RelationListDialog.java
r2504 r2506 525 525 List<Relation> sel = getSelectedRelations(); 526 526 this.relations.clear(); 527 if (relations == null) { 528 selectionModel.clearSelection(); 529 fireContentsChanged(this,0,getSize()); 530 return; 531 532 } 527 533 for (Relation r: relations) { 528 534 if (! r.isDeleted() && r.isVisible() && !r.incomplete) { … … 657 663 public synchronized void setSelectedRelations(List<Relation> sel) { 658 664 selectionModel.clearSelection(); 659 if (sel == null || sel.isEmpty() || relations == null)665 if (sel == null || sel.isEmpty()) 660 666 return; 661 667 for (Relation r: sel) {
Note:
See TracChangeset
for help on using the changeset viewer.