don't update the badge count when a transfer finishes seeding and is removed at the same time.
This commit is contained in:
parent
e5304a8aaa
commit
79d0f5d792
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue