mirror of
https://github.com/holub/mame
synced 2025-07-04 01:18:59 +03:00
Check which control sends event
This commit is contained in:
parent
6ec9472c84
commit
503f71a189
@ -359,7 +359,9 @@ NSString *const MAMEAuxiliaryDebugWindowWillCloseNotification = @"MAMEAuxiliaryD
|
|||||||
|
|
||||||
- (BOOL)control:(NSControl *)control textShouldBeginEditing:(NSText *)fieldEditor
|
- (BOOL)control:(NSControl *)control textShouldBeginEditing:(NSText *)fieldEditor
|
||||||
{
|
{
|
||||||
|
if (control == expressionField)
|
||||||
[history edit];
|
[history edit];
|
||||||
|
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user