mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-05 16:42:58 +00:00
CPResponder -interpretKeyEvents: will only call -insertText: if the Command and Control keys are not being held.
This commit is contained in:
1 parent
bd06b8a867
commit
96fc34c00e
1 file changed
+2
-1
@@ -135,7 +135,8 @@ CPDeleteForwardKeyCode = 46;
|
||||
[self doCommandBySelector:@selector(insertBackTab:)];
|
||||
break;
|
||||
|
||||
default: [self insertText:[event characters]];
|
||||
default: if (!([event modifierFlags] & (CPCommandKeyMask | CPControlKeyMask)))
|
||||
[self insertText:[event characters]];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user