diff options
author | Damiano Galassi <[email protected]> | 2016-01-21 16:00:22 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2016-01-21 16:00:22 +0100 |
commit | 3de558377ac85992076b5d00a0bfcd7477ce8e30 (patch) | |
tree | e0d3b7dbedc69734b32bdb582916b2e2e6584ab8 /macosx/HBAppDelegate.m | |
parent | 8854e65a946d237ec867b7984695214117c81d0a (diff) |
MacGui: add a key equivalent to the 'don't quit' button of the quit alert.
Diffstat (limited to 'macosx/HBAppDelegate.m')
-rw-r--r-- | macosx/HBAppDelegate.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/macosx/HBAppDelegate.m b/macosx/HBAppDelegate.m index 0dc8030b9..537cc6144 100644 --- a/macosx/HBAppDelegate.m +++ b/macosx/HBAppDelegate.m @@ -150,6 +150,7 @@ [alert setInformativeText:NSLocalizedString(@"If you quit HandBrake your current encode will be reloaded into your queue at next launch. Do you want to quit anyway?", nil)]; [alert addButtonWithTitle:NSLocalizedString(@"Quit", nil)]; [alert addButtonWithTitle:NSLocalizedString(@"Don't Quit", nil)]; + [alert.buttons[1] setKeyEquivalent:@"\E"]; [alert setAlertStyle:NSCriticalAlertStyle]; NSInteger result = [alert runModal]; |