Ignore:
Timestamp:
2016-06-30T20:16:23+02:00 (8 years ago)
Author:
donvip
Message:

remove calls to deprecated methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/michigan_left/src/MichiganLeft/MichiganLeft.java

    r30753 r32472  
    5858        @Override
    5959        public void actionPerformed(ActionEvent e) {
    60             Collection<OsmPrimitive> mainSelection = Main.main.getCurrentDataSet().getSelected();
     60            Collection<OsmPrimitive> mainSelection = Main.getLayerManager().getEditDataSet().getSelected();
    6161
    6262            ArrayList<OsmPrimitive> selection = new ArrayList<>();
     
    228228        @Override
    229229        protected void updateEnabledState() {
    230             setEnabled(getEditLayer() != null);
     230            setEnabled(getLayerManager().getEditLayer() != null);
    231231        }
    232232
Note: See TracChangeset for help on using the changeset viewer.