mirror of
https://github.com/transmission/transmission
synced 2025-01-30 19:03:04 +00:00
Display the number of active torrents when quitting, not downloading torrents
This commit is contained in:
parent
00ef8642bf
commit
bb7711ed2c
1 changed files with 2 additions and 1 deletions
|
@ -189,7 +189,8 @@ static void sleepCallBack( void * controller, io_service_t y,
|
|||
NSString * message = active == 1
|
||||
? @"There is an active torrent. Do you really want to quit?"
|
||||
: [NSString stringWithFormat:
|
||||
@"There are %d active torrents. Do you really want to quit?", fDownloading];
|
||||
@"There are %d active torrents. Do you really want to quit?",
|
||||
active];
|
||||
|
||||
NSBeginAlertSheet(@"Confirm Quit",
|
||||
@"Quit", @"Cancel", nil,
|
||||
|
|
Loading…
Reference in a new issue