Changeset 9443 in josm


Ignore:
Timestamp:
2016-01-14T18:01:53+01:00 (9 years ago)
Author:
simon04
Message:

fix #12352 - Add "Delete Layer" in file menu (patch by kolesar, slightly modified)

Location:
trunk/src/org/openstreetmap/josm
Files:
1 added
1 edited

Legend:

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

    r9347 r9443  
    3333import org.openstreetmap.josm.actions.ChangesetManagerToggleAction;
    3434import org.openstreetmap.josm.actions.CloseChangesetAction;
     35import org.openstreetmap.josm.actions.DeleteLayerAction;
    3536import org.openstreetmap.josm.actions.CombineWayAction;
    3637import org.openstreetmap.josm.actions.CopyAction;
     
    145146    /** File / Open Location... **/
    146147    public final OpenLocationAction openLocation = new OpenLocationAction();
     148    /** File / Delete Layer **/
     149    public final DeleteLayerAction deleteLayerAction = new DeleteLayerAction();
    147150    /** File / Save **/
    148151    public final SaveAction save = SaveAction.getInstance();
     
    637640        fileMenu.add(recentlyOpened);
    638641        add(fileMenu, openLocation);
     642        add(fileMenu, deleteLayerAction);
    639643        fileMenu.addSeparator();
    640644        add(fileMenu, save);
Note: See TracChangeset for help on using the changeset viewer.