mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX #1433: Accelerator key (&) supportted in Menu with new version of Lazarus
(cherry picked from commit 9c7051bb86)
This commit is contained in:
parent
51ab93793b
commit
0a7500ff39
1 changed files with 1 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ uses
|
|||
|
||||
function GetCaption(const ACaption: TCaption): TCaption;
|
||||
begin
|
||||
{$IFNDEF LCLWIN32}
|
||||
{$IF not (DEFINED(LCLWIN32) or DEFINED(LCLCOCOA))}
|
||||
if (Pos('&', StringReplace(ACaption, '&&', '', [rfReplaceAll])) = 0) then
|
||||
Result:= '&' + ACaption
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue