mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 00:58:04 +02:00
TToolButton: fix using AccelleratorChars (Issue #0024817).
git-svn-id: trunk@44871 -
This commit is contained in:
parent
5f56400fe5
commit
f62fa21a33
@ -931,7 +931,7 @@ end;
|
||||
|
||||
function TToolButton.DialogChar(var Message: TLMKey): boolean;
|
||||
begin
|
||||
if IsAccel(Message.CharCode, Caption) and FToolBar.CanFocus then
|
||||
if IsAccel(Message.CharCode, Caption) and FToolBar.ShowCaptions then
|
||||
begin
|
||||
Click;
|
||||
Result := true;
|
||||
|
Loading…
Reference in New Issue
Block a user