mirror of
https://github.com/transmission/transmission
synced 2024-12-24 16:52:39 +00:00
when changing the idle seed time setting, reload the main table right away
This commit is contained in:
parent
6c7f3cbb08
commit
e3695e1a8e
2 changed files with 8 additions and 1 deletions
|
@ -110,6 +110,9 @@
|
|||
{
|
||||
tr_sessionSetIdleLimited(fHandle, [fDefaults boolForKey: @"IdleLimitCheck"]);
|
||||
|
||||
//reload main table for remaining seeding time
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateUI" object: nil];
|
||||
|
||||
//reload global settings in inspector
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateGlobalOptions" object: nil];
|
||||
}
|
||||
|
@ -122,6 +125,9 @@
|
|||
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateIdleStopValueOutsidePrefs" object: nil];
|
||||
|
||||
//reload main table for remaining seeding time
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateUI" object: nil];
|
||||
|
||||
//reload global settings in inspector
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateGlobalOptions" object: nil];
|
||||
}
|
||||
|
|
|
@ -641,7 +641,8 @@ tr_session * fHandle;
|
|||
tr_sessionSetIdleLimited(fHandle, [fDefaults boolForKey: @"IdleLimitCheck"]);
|
||||
tr_sessionSetIdleLimit(fHandle, [fDefaults integerForKey: @"IdleLimitMinutes"]);
|
||||
|
||||
#warning reload main table for remaining seeding time
|
||||
//reload main table for remaining seeding time
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateUI" object: nil];
|
||||
|
||||
//reload global settings in inspector
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateGlobalOptions" object: nil];
|
||||
|
|
Loading…
Reference in a new issue