mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
when changing the global ratio setting, reload the main table right away
This commit is contained in:
@@ -612,6 +612,9 @@ tr_session * fHandle;
|
||||
tr_sessionSetRatioLimited(fHandle, [fDefaults boolForKey: @"RatioCheck"]);
|
||||
tr_sessionSetRatioLimit(fHandle, [fDefaults floatForKey: @"RatioLimit"]);
|
||||
|
||||
//reload main table for seeding progress
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateUI" object: nil];
|
||||
|
||||
//reload global settings in inspector
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateGlobalOptions" object: nil];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user