summaryrefslogtreecommitdiffstats
path: root/macosx/HBSubtitlesDefaultsController.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2016-05-29 16:45:19 +0200
committerDamiano Galassi <[email protected]>2016-05-29 16:45:19 +0200
commitaae64bbd7be3907633e833d30edde605a5887de1 (patch)
tree0cf81e613caa17cbec7fc03d98025a20e4923aa8 /macosx/HBSubtitlesDefaultsController.m
parentca3e9d52a23a2de32a5a43222d8e156c85e81da9 (diff)
MacGui: add an help button to quickly open the docs in the add preset, audio and subtitles defaults sheets.
Diffstat (limited to 'macosx/HBSubtitlesDefaultsController.m')
-rw-r--r--macosx/HBSubtitlesDefaultsController.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/macosx/HBSubtitlesDefaultsController.m b/macosx/HBSubtitlesDefaultsController.m
index e58822c25..859272812 100644
--- a/macosx/HBSubtitlesDefaultsController.m
+++ b/macosx/HBSubtitlesDefaultsController.m
@@ -78,6 +78,12 @@ static void *HBSubtitlesDefaultsContext = &HBSubtitlesDefaultsContext;
[NSApp endSheet:self.window returnCode:NSModalResponseCancel];
}
+- (IBAction)openUserGuide:(id)sender
+{
+ [[NSWorkspace sharedWorkspace] openURL:[NSURL
+ URLWithString:@"https://handbrake.fr/docs/en/latest/advanced/audio-subtitle-defaults.html"]];
+}
+
- (void)dealloc
{
@try {