Changeset 386 for trunk/LocalPlayer/UKeyBindings.pas
- Timestamp:
- Apr 27, 2021, 6:48:47 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/UKeyBindings.pas
r385 r386 37 37 procedure Assign(Source: TKeyBindings); 38 38 procedure ResetToDefault; 39 procedure RemoveShortCut(ShortCut: TShortCut); 39 40 end; 40 41 … … 271 272 for I := 0 to Count - 1 do 272 273 Items[I].SetDefault; 274 end; 275 276 procedure TKeyBindings.RemoveShortCut(ShortCut: TShortCut); 277 var 278 I: Integer; 279 begin 280 for I := 0 to Count - 1 do begin 281 if Items[I].ShortCut = ShortCut then Items[I].ShortCut := 0; 282 if Items[I].ShortCut2 = ShortCut then Items[I].ShortCut2 := 0; 283 end; 273 284 end; 274 285
Note:
See TracChangeset
for help on using the changeset viewer.