Martijn Laan 1 year ago
parent
commit
ea4353e89d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Projects/Src/CompFunc.pas

+ 1 - 1
Projects/Src/CompFunc.pas

@@ -459,7 +459,7 @@ end;
 procedure SetFakeShortCut(const MenuItem: TMenuItem; const Key: Word;
   const Shift: TShiftState);
 begin
-  SetFakeShortCutText(MenuItem, ShortCutToText(ShortCut(Key, Shift)));
+  SetFakeShortCut(MenuItem, ShortCut(Key, Shift));
 end;
 
 procedure SetFakeShortCut(const MenuItem: TMenuItem; const ShortCut: TShortCut);