diff options
| author | 2015-02-14 10:09:31 +1100 | |
|---|---|---|
| committer | 2015-02-14 18:00:56 +1100 | |
| commit | 503f71a189a0e6bba0aa4fc23354c3f3f268664f (patch) | |
| tree | bb93f001a82207b0c072053c5af027decabe00ef /src/osd/modules/debugger | |
| parent | 6ec9472c846047715a216a442a54664be7c948e5 (diff) | |
Check which control sends event
Diffstat (limited to 'src/osd/modules/debugger')
| -rw-r--r-- | src/osd/modules/debugger/osx/debugosxdebugwindowhandler.m | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/osd/modules/debugger/osx/debugosxdebugwindowhandler.m b/src/osd/modules/debugger/osx/debugosxdebugwindowhandler.m index e8585179b96..9be854432aa 100644 --- a/src/osd/modules/debugger/osx/debugosxdebugwindowhandler.m +++ b/src/osd/modules/debugger/osx/debugosxdebugwindowhandler.m @@ -359,7 +359,9 @@ NSString *const MAMEAuxiliaryDebugWindowWillCloseNotification = @"MAMEAuxiliaryD - (BOOL)control:(NSControl *)control textShouldBeginEditing:(NSText *)fieldEditor { - [history edit]; + if (control == expressionField) + [history edit]; + return YES; } |
