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/MapMover.java

    r12630 r12639  
    153153
    154154    private void registerActionShortcut(ZoomerAction action, Shortcut shortcut) {
    155         Main.registerActionShortcut(action, shortcut);
     155        MainApplication.registerActionShortcut(action, shortcut);
    156156        registeredShortcuts.add(new Pair<>(action, shortcut));
    157157    }
     
    271271    public void destroy() {
    272272        for (Pair<ZoomerAction, Shortcut> shortcut : registeredShortcuts) {
    273             Main.unregisterActionShortcut(shortcut.a, shortcut.b);
     273            MainApplication.unregisterActionShortcut(shortcut.a, shortcut.b);
    274274        }
    275275    }
Note: See TracChangeset for help on using the changeset viewer.