Closing preference window without confirming a change (as in not hitting the return key) will act as if it was confirmed.

This commit is contained in:
Mitchell Livingston 2006-07-03 01:25:22 +00:00
parent e7ebf16d43
commit c106ceb023
2 changed files with 5 additions and 0 deletions

View File

@ -601,6 +601,11 @@
contextInfo: nil];
}
- (void) windowWillClose: (NSNotification *) notification
{
[[self window] makeFirstResponder: nil];
}
@end
@implementation PrefsController (Private)