when the ratio is set to unlimited when resuming, reload the inspector
This commit is contained in:
parent
6a4954e867
commit
05cf5fccef
|
@ -1823,7 +1823,7 @@ typedef struct tr_stat
|
|||
time_t activityDate;
|
||||
|
||||
/** A torrent is considered finished if it has met its seed ratio.
|
||||
As a result, only paused torrent can be finished. */
|
||||
As a result, only paused torrents can be finished. */
|
||||
tr_bool finished;
|
||||
}
|
||||
tr_stat;
|
||||
|
|
|
@ -288,6 +288,9 @@ int trashDataFile(const char * filename)
|
|||
{
|
||||
tr_torrentStart(fHandle);
|
||||
[self update];
|
||||
|
||||
//capture, specifically, ratio setting changing to unlimited
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateOptions" object: nil];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -651,7 +651,7 @@
|
|||
//actually draw image
|
||||
if ([NSApp isOnSnowLeopardOrBetter])
|
||||
[bitmap drawInRect: barRect fromRect: NSZeroRect operation: NSCompositeSourceOver
|
||||
fraction: ([fDefaults boolForKey: @"SmallView"] ? 0.2 : 1.0) respectFlipped: YES hints: nil];
|
||||
fraction: ([fDefaults boolForKey: @"SmallView"] ? 0.25 : 1.0) respectFlipped: YES hints: nil];
|
||||
else
|
||||
[bitmap drawInRect: barRect];
|
||||
|
||||
|
|
Loading…
Reference in New Issue