Changeset 3103 in josm for trunk


Ignore:
Timestamp:
2010-03-10T12:57:10+01:00 (15 years ago)
Author:
Gubaer
Message:

fixed #4699: selectionlist gets out of sync

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/SelectionListDialog.java

    r3102 r3103  
    179179        DatasetEventManager.getInstance().addDatasetListener(model, FireMode.IN_EDT);
    180180        MapView.addEditLayerChangeListener(actSearch);
     181        if (Main.map.mapView.getEditLayer() != null) {
     182            model.setJOSMSelection(Main.map.mapView.getEditLayer().data.getSelected());
     183        }
    181184    }
    182185
Note: See TracChangeset for help on using the changeset viewer.