Ignore:
Timestamp:
2017-07-23T23:59:49+02:00 (4 years ago)
Author:
Don-vip
Message:

see #11924 - fix one deprecation warning for InputEvent.ALT_GRAPH_MASK

File:
1 edited

Legend:

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

    r12391 r12504  
    173173    /** Zoom mode */
    174174    public final ZoomAction mapModeZoom;
     175    /** Delete mode */
     176    public final DeleteAction mapModeDelete;
    175177    /** Select Lasso mode */
    176178    public LassoModeAction mapModeSelectLasso;
     
    239241        mapModeDraw = new DrawAction();
    240242        mapModeZoom = new ZoomAction(this);
     243        mapModeDelete = new DeleteAction();
    241244
    242245        addMapMode(new IconToggleButton(mapModeSelect));
     
    244247        addMapMode(new IconToggleButton(mapModeDraw));
    245248        addMapMode(new IconToggleButton(mapModeZoom, true));
    246         addMapMode(new IconToggleButton(new DeleteAction(), true));
     249        addMapMode(new IconToggleButton(mapModeDelete, true));
    247250        addMapMode(new IconToggleButton(new ParallelWayAction(this), true));
    248251        addMapMode(new IconToggleButton(new ExtrudeAction(), true));
Note: See TracChangeset for help on using the changeset viewer.