Our doCommandBySelector: override should beep for unknown actions

This commit is contained in:
Allan Odgaard
2015-04-30 14:07:15 +02:00
parent 0edcddccfa
commit 74ef6697ba

View File

@@ -1166,7 +1166,8 @@ doScroll:
{
D(DBF_OakTextView_TextInput, bug("%s\n", sel_getName(aSelector)););
AUTO_REFRESH;
[self tryToPerform:aSelector with:self];
if(![self tryToPerform:aSelector with:self])
NSBeep();
}
- (NSInteger)windowLevel