mirror of
https://github.com/transmission/transmission
synced 2025-02-20 21:26:53 +00:00
#4587 update the main window when a transfer changes stalled-ness
This commit is contained in:
parent
f27a4e5e6f
commit
8b106f68f2
1 changed files with 7 additions and 0 deletions
|
@ -293,7 +293,14 @@ int trashDataFile(const char * filename)
|
|||
|
||||
- (void) update
|
||||
{
|
||||
//get previous stalled value before update
|
||||
const BOOL wasStalled = fStat != NULL && [self isStalled];
|
||||
|
||||
fStat = tr_torrentStat(fHandle);
|
||||
|
||||
//make sure the "active" filter is updated when stalled-ness changes
|
||||
if (wasStalled != [self isStalled])
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateQueue" object: self];
|
||||
|
||||
//when the data first appears, update time machine exclusion
|
||||
if (!fTimeMachineExclude)
|
||||
|
|
Loading…
Reference in a new issue