mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 14:20:38 +02:00
lcl: don't report that shortcut is handled if shortcut menu item is disabled
git-svn-id: trunk@23604 -
This commit is contained in:
parent
f0c2b4ccf2
commit
d4aa924e22
@ -256,7 +256,9 @@ function TMenu.IsShortcut(var Message: TLMKey): boolean;
|
||||
begin
|
||||
Item.InitiateActions;
|
||||
Item.Click;
|
||||
end;
|
||||
end
|
||||
else
|
||||
FShortcutHandled := False;
|
||||
end;
|
||||
|
||||
var
|
||||
|
Loading…
Reference in New Issue
Block a user