Changeset 5314 in josm


Ignore:
Timestamp:
2012-07-01T18:28:58+02:00 (9 years ago)
Author:
Don-vip
Message:

fix #7830 - Keyboard shortcuts Alt+<N> are shifted (patch by AlfonZ)

File:
1 edited

Legend:

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

    r5303 r5314  
    131131        @Override
    132132        public void actionPerformed(ActionEvent e) {
    133             final Layer l = model.getLayer(model.getRowCount() - layerIndex);
     133            final Layer l = model.getLayer(model.getRowCount() - layerIndex - 1);
    134134            if(l != null) {
    135135                l.toggleVisible();
Note: See TracChangeset for help on using the changeset viewer.