don't update the badge count when a transfer finishes seeding and is removed at the same time.

This commit is contained in:
Mitchell Livingston 2012-10-17 00:25:28 +00:00
parent e5304a8aaa
commit 79d0f5d792
1 changed files with 3 additions and 3 deletions

View File

@ -2087,14 +2087,14 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
description: [torrent name] notificationName: GROWL_SEEDING_COMPLETE
iconData: nil priority: 0 isSticky: NO clickContext: clickContext];
if (![fWindow isMainWindow])
[fBadger addCompletedTorrent: torrent];
//removing from the list calls fullUpdateUI
if ([torrent removeWhenFinishSeeding])
[self confirmRemoveTorrents: [[NSArray arrayWithObject: torrent] retain] deleteData: NO];
else
{
if (![fWindow isMainWindow])
[fBadger addCompletedTorrent: torrent];
[self fullUpdateUI];
if ([[fTableView selectedTorrents] containsObject: torrent])