mirror of
https://github.com/transmission/transmission
synced 2025-02-23 14:40:43 +00:00
if the blocklist downloader is running, don't allow the schedule to be reset
This commit is contained in:
parent
14760b85f3
commit
fb2355571e
1 changed files with 3 additions and 0 deletions
|
@ -50,6 +50,9 @@ BlocklistScheduler * fScheduler = nil;
|
|||
|
||||
- (void) updateSchedule
|
||||
{
|
||||
if ([BlocklistDownloader isRunning])
|
||||
return;
|
||||
|
||||
[self cancelSchedule];
|
||||
|
||||
if (![[NSUserDefaults standardUserDefaults] boolForKey: @"Blocklist"]
|
||||
|
|
Loading…
Reference in a new issue