mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-05 06:19:41 +01:00
lcl: set down state of speedbutton when button was invoked by accelerator (based on patch of Benito van der Zander #0011826)
git-svn-id: trunk@16815 -
This commit is contained in:
parent
a60139801c
commit
0607f55e77
@ -480,6 +480,8 @@ begin
|
||||
if IsAccel(Message.CharCode, Caption) then
|
||||
begin
|
||||
Result := True;
|
||||
if GroupIndex <> 0 then
|
||||
SetDown(not FDown);
|
||||
Click;
|
||||
end else
|
||||
Result := inherited DialogChar(Message);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user