diff --git a/macosx/Controller.m b/macosx/Controller.m index 064e88a34..8a0413e2e 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -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]; diff --git a/macosx/Torrent.m b/macosx/Torrent.m index ad444bd34..a70f7c215 100644 --- a/macosx/Torrent.m +++ b/macosx/Torrent.m @@ -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];