Ignore:
Timestamp:
2012-01-15T19:46:00+01:00 (12 years ago)
Author:
simon04
Message:

fix #5796 - remotecontrol: load_and_zoom/zoom: select relations in the relation toggle dialog

File:
1 edited

Legend:

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

    r4791 r4795  
    2525import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor;
    2626import org.openstreetmap.josm.io.remotecontrol.AddTagsDialog;
     27import org.openstreetmap.josm.tools.Utils;
    2728
    2829/**
     
    173174                        new AutoScaleAction("selection").actionPerformed(null);
    174175                    }
     176                    if (Main.map != null && Main.map.relationListDialog != null) {
     177                        Main.map.relationListDialog.dataChanged(null);
     178                        Main.map.relationListDialog.selectRelations(Utils.filteredCollection(newSel, Relation.class));
     179                    }
    175180                }
    176181            });
Note: See TracChangeset for help on using the changeset viewer.