Changes between Initial Version and Version 1 of Ticket #7424, comment 6


Ignore:
Timestamp:
2012-02-21T20:45:28+01:00 (14 years ago)
Author:
akks

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7424, comment 6

    initial v1  
    11I looked at the code of Main.registerShortcut and realized that unregistering shortcut before registering it again is meaningless. (inputMap.remove + inputMap.put = only inputMap.put), so only thing we need is to supress the warning for certain calls by adding some boolean parameter to registerActionShortcut.
     2Do we need to remove actions from actionMap or they are safely replaced too?
    23
    34Singleton does not work for considered case, since actions really need to be recreated (to match GUI tables and so on).