diff options
Diffstat (limited to 'src/osd/modules/debugger/osx/debugosxdebugwindowhandler.m')
| -rw-r--r-- | src/osd/modules/debugger/osx/debugosxdebugwindowhandler.m | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/osd/modules/debugger/osx/debugosxdebugwindowhandler.m b/src/osd/modules/debugger/osx/debugosxdebugwindowhandler.m index d5382c19454..e8585179b96 100644 --- a/src/osd/modules/debugger/osx/debugosxdebugwindowhandler.m +++ b/src/osd/modules/debugger/osx/debugosxdebugwindowhandler.m @@ -357,6 +357,13 @@ NSString *const MAMEAuxiliaryDebugWindowWillCloseNotification = @"MAMEAuxiliaryD } +- (BOOL)control:(NSControl *)control textShouldBeginEditing:(NSText *)fieldEditor +{ + [history edit]; + return YES; +} + + - (BOOL)control:(NSControl *)control textView:(NSTextView *)textView doCommandBySelector:(SEL)command { if (control == expressionField) { if (command == @selector(cancelOperation:)) { |
