1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 09:13:06 +00:00

#4425 add window's verification progress bar doesn't consistently auto-hide

This commit is contained in:
Mitchell Livingston 2011-08-16 02:31:53 +00:00
parent 78b7e82828
commit 256ba78e88

View file

@ -271,7 +271,7 @@
[fFileController reloadData];
if ([fTorrent isChecking])
{
{NSLog(@"start");
const BOOL waiting = [fTorrent isCheckingWaiting];
[fVerifyIndicator setIndeterminate: waiting];
if (!waiting)
@ -279,8 +279,10 @@
[fVerifyIndicator startAnimation: self];
}
else
else {
[fVerifyIndicator setIndeterminate: YES]; //we want to hide when stopped, which only applies when indeterminate
[fVerifyIndicator stopAnimation: self];
}
}
- (void) confirmAdd