mirror of
https://github.com/transmission/transmission
synced 2025-02-03 04:53:27 +00:00
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:
parent
e7ebf16d43
commit
c106ceb023
2 changed files with 5 additions and 0 deletions
BIN
macosx/English.lproj/PrefsWindow.nib/keyedobjects.nib
generated
BIN
macosx/English.lproj/PrefsWindow.nib/keyedobjects.nib
generated
Binary file not shown.
|
@ -601,6 +601,11 @@
|
|||
contextInfo: nil];
|
||||
}
|
||||
|
||||
- (void) windowWillClose: (NSNotification *) notification
|
||||
{
|
||||
[[self window] makeFirstResponder: nil];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@implementation PrefsController (Private)
|
||||
|
|
Loading…
Reference in a new issue