Changeset 264 for trunk


Ignore:
Timestamp:
Jun 12, 2020, 12:12:01 AM (4 years ago)
Author:
chronos
Message:
  • Fixed: ShortCut text is localizable so it can't be directly used for space key.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UKeyBindings.pas

    r263 r264  
    66
    77uses
    8   Classes, SysUtils, fgl, LCLProc;
     8  Classes, SysUtils, fgl, LCLProc, LCLType, Menus;
    99
    1010type
     
    138138  BCenterUnit := AddItem('CenterUnit', 'Center', 'C');
    139139  BStay := AddItem('Stay', 'Stay', 'S');
    140   BNoOrders := AddItem('NoOrders', 'No orders', ' ');
     140  BNoOrders := AddItem('NoOrders', 'No orders', ShortCut(VK_SPACE, []));
    141141end;
    142142
Note: See TracChangeset for help on using the changeset viewer.