Changeset 16701 in josm for trunk/src


Ignore:
Timestamp:
2020-06-21T20:03:01+02:00 (4 years ago)
Author:
simon04
Message:

fix #18586 - Add invert selection action for experts

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

Legend:

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

    r16553 r16701  
    6464import org.openstreetmap.josm.actions.InfoAction;
    6565import org.openstreetmap.josm.actions.InfoWebAction;
     66import org.openstreetmap.josm.actions.InvertSelectionAction;
    6667import org.openstreetmap.josm.actions.JoinAreasAction;
    6768import org.openstreetmap.josm.actions.JoinNodeWayAction;
     
    306307    /** Selection / Unselect All */
    307308    public final UnselectAllAction unselectAll = new UnselectAllAction();
     309    /** Selection / Invert Selection */
     310    public final InvertSelectionAction invertSelection = new InvertSelectionAction();
    308311    /** Selection / Non-branching way sequences */
    309312    public final SelectNonBranchingWaySequencesAction nonBranchingWaySequences = new SelectNonBranchingWaySequencesAction();
     
    845848        add(selectionMenu, selectAll);
    846849        add(selectionMenu, unselectAll);
     850        add(selectionMenu, invertSelection, true);
    847851        add(selectionMenu, nonBranchingWaySequences);
    848852
Note: See TracChangeset for help on using the changeset viewer.