if a transfer does not start because of not enough disk space, start next in queue
This commit is contained in:
parent
5f87a757fb
commit
de198e1c0a
|
@ -463,7 +463,13 @@ static uint32_t kRed = BE(0xFF6450FF), //255, 100, 80
|
|||
[alert addButtonWithTitle: @"OK"];
|
||||
[alert addButtonWithTitle: @"Download Anyway"];
|
||||
|
||||
return [alert runModal] != NSAlertFirstButtonReturn;
|
||||
if ([alert runModal] == NSAlertFirstButtonReturn)
|
||||
{
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName: @"StoppedDownloading" object: self];
|
||||
return NO;
|
||||
}
|
||||
else
|
||||
return YES;
|
||||
}
|
||||
return YES;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue