Ignore:
Timestamp:
2017-08-26T02:16:05+02:00 (9 years ago)
Author:
donvip
Message:

update to JOSM 12663

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/DuplicateChosenRelationAction.java

    r32398 r33530  
    88import javax.swing.AbstractAction;
    99
    10 import org.openstreetmap.josm.Main;
    1110import org.openstreetmap.josm.command.AddCommand;
    1211import org.openstreetmap.josm.data.osm.Relation;
     12import org.openstreetmap.josm.gui.MainApplication;
    1313import org.openstreetmap.josm.tools.ImageProvider;
    1414
     
    3232        Relation r = rel.get();
    3333        Relation copy = new Relation(r, true);
    34         Main.main.undoRedo.add(new AddCommand(copy));
     34        MainApplication.undoRedo.add(new AddCommand(copy));
    3535        rel.set(copy);
    36         if (Main.getLayerManager().getEditDataSet() != null) {
    37             Main.getLayerManager().getEditDataSet().setSelected(copy);
     36        if (MainApplication.getLayerManager().getEditDataSet() != null) {
     37            MainApplication.getLayerManager().getEditDataSet().setSelected(copy);
    3838        }
    3939    }
Note: See TracChangeset for help on using the changeset viewer.