mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-14 13:59:34 +02:00
parent
801c0933d5
commit
337e3a4589
@ -3537,8 +3537,10 @@ var
|
||||
// Ignore the second Ctrl key in sequential combos unless both variations are defined.
|
||||
// For example "Ctrl-X, Y" and "Ctrl-X, Ctrl-Y" are then treated the same.
|
||||
if (aKey.Key2<>VK_UNKNOWN) and (aKey.Shift=[ssCtrl]) and (aKey.Shift2-[ssCtrl]=[])
|
||||
and not ShiftConflict(aKey) then
|
||||
aKey.ShiftMask2:=[ssCtrl]
|
||||
and not ShiftConflict(aKey) then begin
|
||||
aKey.ShiftMask2:=[ssCtrl];
|
||||
aKey.Shift2:=[];
|
||||
end
|
||||
else
|
||||
aKey.ShiftMask2:=[];
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user