mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
Don't call setRestorationClass: on 10.6.
This commit is contained in:
@@ -58,7 +58,8 @@
|
||||
[window setFrameAutosaveName: @"MessageWindowFrame"];
|
||||
[window setFrameUsingName: @"MessageWindowFrame"];
|
||||
|
||||
[window setRestorationClass: [self class]];
|
||||
if ([NSApp isOnLionOrBetter])
|
||||
[window setRestorationClass: [self class]];
|
||||
|
||||
[[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(resizeColumn)
|
||||
name: @"NSTableViewColumnDidResizeNotification" object: fMessageTable];
|
||||
|
||||
Reference in New Issue
Block a user