1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 16:52:39 +00:00

Inspector window now only becomes key window when necessary.

This commit is contained in:
Mitchell Livingston 2006-06-10 20:51:15 +00:00
parent 0a4d97fdca
commit ae8e73fe72
2 changed files with 4 additions and 1 deletions

View file

@ -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];