mirror of
https://github.com/transmission/transmission.git
synced 2025-12-25 04:45:56 +00:00
add the donate warning to the reset warnings pref option
This commit is contained in:
@@ -568,8 +568,7 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
|
||||
if (donateResult == NSAlertFirstButtonReturn)
|
||||
[self linkDonate: self];
|
||||
|
||||
if ([[alert suppressionButton] state] == NSOnState)
|
||||
[fDefaults setBool: NO forKey: @"WarningDonate"];
|
||||
[fDefaults setBool: ([[alert suppressionButton] state] == NSOnState) forKey: @"WarningDonate"];
|
||||
|
||||
[alert release];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user