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