Ticket #8435: JOSMRelationListEditorFixPatch.txt

File JOSMRelationListEditorFixPatch.txt, 577 bytes (added by Lesath, 12 years ago)

Patch for Relationship dialog

Line 
1Index: RelationListDialog.java
2===================================================================
3--- RelationListDialog.java (revision 5727)
4+++ RelationListDialog.java (working copy)
5@@ -916,8 +915,8 @@
6 resetFilter();
7 }
8 for (Relation r: sel) {
9- int i = getVisibleRelationIndex(r);
10- if (i<0) {
11+ Integer i = getVisibleRelationIndex(r);
12+ if (i== null || i<0) {
13 continue;
14 }
15 selectionModel.addSelectionInterval(i,i);