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:
martin 2009-03-07 14:32:54 +00:00
parent ed7b49c4d1
commit f5095255dc

View File

@ -2741,7 +2741,9 @@ begin
Key.Shift2:=CurRelation.ShortcutB.Shift2;
end;
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)
if ( (CurRelation.ShortcutA.Key1 <> VK_UNKNOWN) and
(Key.Key = CurRelation.ShortcutA.Key1) and