diff --git a/macosx/GlobalOptionsPopoverViewController.m b/macosx/GlobalOptionsPopoverViewController.m index e66ea773b..58f2975af 100644 --- a/macosx/GlobalOptionsPopoverViewController.m +++ b/macosx/GlobalOptionsPopoverViewController.m @@ -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]; } diff --git a/macosx/PrefsController.m b/macosx/PrefsController.m index c89fbc0f5..f33bc1961 100644 --- a/macosx/PrefsController.m +++ b/macosx/PrefsController.m @@ -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];