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

update to JOSM 12663

File:
1 edited

Legend:

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

    r32398 r33530  
    99import javax.swing.AbstractAction;
    1010
    11 import org.openstreetmap.josm.Main;
    1211import org.openstreetmap.josm.command.Command;
    1312import org.openstreetmap.josm.command.DeleteCommand;
    1413import org.openstreetmap.josm.data.osm.Relation;
     14import org.openstreetmap.josm.gui.MainApplication;
    1515import org.openstreetmap.josm.tools.ImageProvider;
    1616
     
    3333        Relation r = rel.get();
    3434        rel.clear();
    35         Command c = DeleteCommand.delete(Main.getLayerManager().getEditLayer(), Collections.singleton(r), true, true);
     35        Command c = DeleteCommand.delete(MainApplication.getLayerManager().getEditLayer(), Collections.singleton(r), true, true);
    3636        if (c != null) {
    37             Main.main.undoRedo.add(c);
     37            MainApplication.undoRedo.add(c);
    3838        }
    3939    }
Note: See TracChangeset for help on using the changeset viewer.