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/actions/JosmAction.java

    r12637 r12639  
    7979        sc = shortcut;
    8080        if (sc != null && !sc.isAutomatic()) {
    81             Main.registerActionShortcut(this, sc);
     81            MainApplication.registerActionShortcut(this, sc);
    8282        }
    8383        setTooltip(tooltip);
     
    218218    public void destroy() {
    219219        if (sc != null && !sc.isAutomatic()) {
    220             Main.unregisterActionShortcut(this);
     220            MainApplication.unregisterActionShortcut(this);
    221221        }
    222222        if (layerChangeAdapter != null) {
Note: See TracChangeset for help on using the changeset viewer.