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

update to JOSM 12663

File:
1 edited

Legend:

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

    r32398 r33530  
    4141import org.openstreetmap.josm.data.osm.RelationMember;
    4242import org.openstreetmap.josm.data.osm.Way;
     43import org.openstreetmap.josm.gui.MainApplication;
    4344import org.openstreetmap.josm.tools.GBC;
    4445import org.openstreetmap.josm.tools.Shortcut;
     
    104105                    rels = TheRing.makeManySimpleMultipolygons(ds.getSelectedWays(), commands);
    105106                    if (!commands.isEmpty()) {
    106                         Main.main.undoRedo.add(new SequenceCommand(tr("Create multipolygons from rings"), commands));
     107                        MainApplication.undoRedo.add(new SequenceCommand(tr("Create multipolygons from rings"), commands));
    107108                    }
    108109                }
     
    147148        List<Command> list = removeTagsFromInnerWays(rel);
    148149        if (!list.isEmpty() && isBoundary) {
    149             Main.main.undoRedo.add(new SequenceCommand(tr("Move tags from ways to relation"), list));
     150            MainApplication.undoRedo.add(new SequenceCommand(tr("Move tags from ways to relation"), list));
    150151            list = new ArrayList<>();
    151152        }
     
    159160        }
    160161        list.add(new AddCommand(rel));
    161         Main.main.undoRedo.add(new SequenceCommand(tr("Create multipolygon"), list));
     162        MainApplication.undoRedo.add(new SequenceCommand(tr("Create multipolygon"), list));
    162163
    163164        if (chRel != null) {
Note: See TracChangeset for help on using the changeset viewer.