Changeset 4884 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2012-02-01T20:06:50+01:00 (8 years ago)
Author:
simon04
Message:

fix #7342 - IndexOutOfBoundsException while using remote control

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/LoadAndZoomHandler.java

    r4883 r4884  
    176176                    }
    177177                    if (Main.map != null && Main.map.relationListDialog != null) {
     178                        Main.map.relationListDialog.selectRelations(null); // unselect all relations to fix #7342
    178179                        Main.map.relationListDialog.dataChanged(null);
    179180                        Main.map.relationListDialog.selectRelations(Utils.filteredCollection(newSel, Relation.class));
Note: See TracChangeset for help on using the changeset viewer.