Stop annoying exceptions in the preferences window
-(void)keyDown:(NSEvent *)theEvent
{
if (!is_button_being_modified) {
- if (self.firstResponder != self.controlsTableView) {
+ if (self.firstResponder != self.controlsTableView && [theEvent type] != NSEventTypeFlagsChanged) {
[super keyDown:theEvent];
}
return;
if (event.modifierFlags > previousModifiers) {
[self keyDown:event];
}
- else {
- [self keyUp:event];
- }
previousModifiers = event.modifierFlags;
}
