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/tools/MultikeyActionsHandler.java

    r12630 r12639  
    212212            MyAction myAction = new MyAction(action);
    213213            myActions.put(action, myAction);
    214             Main.registerActionShortcut(myAction, myAction.shortcut);
     214            MainApplication.registerActionShortcut(myAction, myAction.shortcut);
    215215        }
    216216    }
     
    223223        MyAction a = myActions.get(action);
    224224        if (a != null) {
    225             Main.unregisterActionShortcut(a, a.shortcut);
     225            MainApplication.unregisterActionShortcut(a, a.shortcut);
    226226            myActions.remove(action);
    227227        }
Note: See TracChangeset for help on using the changeset viewer.