mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 14:29:36 +02:00
SynEdit/KeyMapping: Fix revision 18909 #d84d274464 / KeyBindings => The fix was to eager, and removed some valid Bindings
git-svn-id: trunk@18911 -
This commit is contained in:
parent
ed7b49c4d1
commit
f5095255dc
@ -2741,7 +2741,9 @@ begin
|
|||||||
Key.Shift2:=CurRelation.ShortcutB.Shift2;
|
Key.Shift2:=CurRelation.ShortcutB.Shift2;
|
||||||
end;
|
end;
|
||||||
inc(KeyCnt);
|
inc(KeyCnt);
|
||||||
end else begin
|
end
|
||||||
|
else
|
||||||
|
if MaxKeyCnt > 0 then begin
|
||||||
// Key with a different ecCommand => Remove if it has a conflicting keystroke(s)
|
// Key with a different ecCommand => Remove if it has a conflicting keystroke(s)
|
||||||
if ( (CurRelation.ShortcutA.Key1 <> VK_UNKNOWN) and
|
if ( (CurRelation.ShortcutA.Key1 <> VK_UNKNOWN) and
|
||||||
(Key.Key = CurRelation.ShortcutA.Key1) and
|
(Key.Key = CurRelation.ShortcutA.Key1) and
|
||||||
|
Loading…
Reference in New Issue
Block a user