mirror of
https://github.com/transmission/transmission
synced 2024-12-24 00:34:04 +00:00
Inspector window now only becomes key window when necessary.
This commit is contained in:
parent
0a4d97fdca
commit
ae8e73fe72
2 changed files with 4 additions and 1 deletions
BIN
macosx/English.lproj/InfoWindow.nib/keyedobjects.nib
generated
BIN
macosx/English.lproj/InfoWindow.nib/keyedobjects.nib
generated
Binary file not shown.
|
@ -49,7 +49,10 @@
|
|||
[fFileTable setDoubleAction: @selector(revealFile:)];
|
||||
|
||||
//window location and size
|
||||
NSWindow * window = [self window];
|
||||
NSPanel * window = (NSPanel *)[self window];
|
||||
|
||||
[window setBecomesKeyOnlyIfNeeded: YES];
|
||||
|
||||
[window setFrameAutosaveName: @"InspectorWindowFrame"];
|
||||
[window setFrameUsingName: @"InspectorWindowFrame" force: YES];
|
||||
|
||||
|
|
Loading…
Reference in a new issue