add file table to open window
This commit is contained in:
parent
fd009b603e
commit
138c825573
|
@ -24,6 +24,7 @@
|
|||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import "Torrent.h"
|
||||
#import "FileOutlineController.h"
|
||||
|
||||
@class Controller;
|
||||
|
||||
|
@ -34,6 +35,8 @@
|
|||
IBOutlet NSButton * fStartCheck;
|
||||
IBOutlet NSPopUpButton * fGroupPopUp;
|
||||
|
||||
IBOutlet FileOutlineController * fFileController;
|
||||
|
||||
Controller * fController;
|
||||
|
||||
Torrent * fTorrent;
|
||||
|
|
|
@ -58,6 +58,8 @@
|
|||
[[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(updateGroupMenu:)
|
||||
name: @"UpdateGroups" object: nil];
|
||||
|
||||
[fFileController setTorrent: fTorrent];
|
||||
|
||||
NSString * name = [fTorrent name];
|
||||
[[self window] setTitle: name];
|
||||
[fNameField setStringValue: name];
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue