mirror of
https://github.com/transmission/transmission
synced 2025-02-23 06:30:38 +00:00
show dialog on first launch only
This commit is contained in:
parent
53c81d46fd
commit
f8b7ac4b55
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
|
|||
[NSValueTransformer setValueTransformer: iconTransformer forName: @"ExpandedPathToIconTransformer"];
|
||||
|
||||
//cover our asses
|
||||
if (YES || [[NSUserDefaults standardUserDefaults] boolForKey: @"WarningLegal"])
|
||||
if ([[NSUserDefaults standardUserDefaults] boolForKey: @"WarningLegal"])
|
||||
{
|
||||
NSAlert * alert = [[NSAlert alloc] init];
|
||||
[alert addButtonWithTitle: NSLocalizedString(@"I Accept", "Legal alert -> button")];
|
||||
|
|
Loading…
Reference in a new issue