mirror of
https://github.com/transmission/transmission
synced 2024-12-26 09:37:56 +00:00
#4425 add window's verification progress bar doesn't consistently auto-hide
This commit is contained in:
parent
78b7e82828
commit
256ba78e88
1 changed files with 4 additions and 2 deletions
|
@ -271,7 +271,7 @@
|
||||||
[fFileController reloadData];
|
[fFileController reloadData];
|
||||||
|
|
||||||
if ([fTorrent isChecking])
|
if ([fTorrent isChecking])
|
||||||
{
|
{NSLog(@"start");
|
||||||
const BOOL waiting = [fTorrent isCheckingWaiting];
|
const BOOL waiting = [fTorrent isCheckingWaiting];
|
||||||
[fVerifyIndicator setIndeterminate: waiting];
|
[fVerifyIndicator setIndeterminate: waiting];
|
||||||
if (!waiting)
|
if (!waiting)
|
||||||
|
@ -279,9 +279,11 @@
|
||||||
|
|
||||||
[fVerifyIndicator startAnimation: self];
|
[fVerifyIndicator startAnimation: self];
|
||||||
}
|
}
|
||||||
else
|
else {
|
||||||
|
[fVerifyIndicator setIndeterminate: YES]; //we want to hide when stopped, which only applies when indeterminate
|
||||||
[fVerifyIndicator stopAnimation: self];
|
[fVerifyIndicator stopAnimation: self];
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
- (void) confirmAdd
|
- (void) confirmAdd
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue