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/preferences/ToolbarPreferences.java

    r12637 r12639  
    12451245            sc = Shortcut.registerShortcut("toolbar:"+name, tr("Toolbar: {0}", desc),
    12461246                KeyEvent.CHAR_UNDEFINED, Shortcut.NONE);
    1247             Main.unregisterShortcut(sc);
    1248             Main.registerActionShortcut(act, sc);
     1247            MainApplication.unregisterShortcut(sc);
     1248            MainApplication.registerActionShortcut(act, sc);
    12491249
    12501250            // add shortcut info to the tooltip if needed
Note: See TracChangeset for help on using the changeset viewer.