Ignore:
Timestamp:
2017-08-25T01:37:31+02:00 (7 years ago)
Author:
Don-vip
Message:

see #15182 - deprecate shortcut handling and mapframe listener methods in Main. Replacement: same methods in gui.MainApplication

File:
1 edited

Legend:

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

    r12630 r12639  
    672672                final boolean activeLayerSupported = mode.layerIsSupported(layerManager.getActiveLayer());
    673673                if (activeLayerSupported) {
    674                     Main.registerActionShortcut(mode, mode.getShortcut()); //fix #6876
     674                    MainApplication.registerActionShortcut(mode, mode.getShortcut()); //fix #6876
    675675                } else {
    676                     Main.unregisterShortcut(mode.getShortcut());
     676                    MainApplication.unregisterShortcut(mode.getShortcut());
    677677                }
    678678                b.setEnabled(activeLayerSupported);
Note: See TracChangeset for help on using the changeset viewer.