update info when changing directory
This commit is contained in:
parent
674391045a
commit
02fc10a15a
|
@ -291,6 +291,9 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
|
|||
//observe notifications
|
||||
NSNotificationCenter * nc = [NSNotificationCenter defaultCenter];
|
||||
|
||||
[nc addObserver: fInfoController selector: @selector(updateInfoSettings)
|
||||
name: @"UpdateInfoSettings" object: nil];
|
||||
|
||||
[nc addObserver: self selector: @selector(torrentFinishedDownloading:)
|
||||
name: @"TorrentFinishedDownloading" object: nil];
|
||||
|
||||
|
|
|
@ -640,7 +640,7 @@ static uint32_t kRed = BE(0xFF6450FF), //255, 100, 80
|
|||
[self startTransfer];
|
||||
[self update];
|
||||
|
||||
#warning reload inspector
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateInfoSettings" object: nil];
|
||||
}
|
||||
else
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName: @"StoppedDownloading" object: self];
|
||||
|
|
Loading…
Reference in New Issue