Make “Restore Session” default for session restore dialog

Since disabling session restore will discard user data, it should not be default.
This commit is contained in:
Allan Odgaard
2014-09-27 13:06:31 +02:00
parent 244509586b
commit 05bd76ad0b

View File

@@ -242,8 +242,8 @@ BOOL HasDocumentWindow (NSArray* windows)
if(promptUser)
{
NSInteger choice = NSRunAlertPanel(@"Disable Session Restore?", @"%@", @"Disable", @"Restore Documents", nil, promptUser);
if(choice == NSAlertDefaultReturn) // "Disable"
NSInteger choice = NSRunAlertPanel(@"Disable Session Restore?", @"%@", @"Restore Documents", @"Disable", nil, promptUser);
if(choice == NSAlertAlternateReturn) // "Disable"
restoreSession = NO;
}