diff options
author | Damiano Galassi <[email protected]> | 2016-05-29 16:45:19 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2016-05-29 16:45:19 +0200 |
commit | aae64bbd7be3907633e833d30edde605a5887de1 (patch) | |
tree | 0cf81e613caa17cbec7fc03d98025a20e4923aa8 /macosx/HBAddPresetController.m | |
parent | ca3e9d52a23a2de32a5a43222d8e156c85e81da9 (diff) |
MacGui: add an help button to quickly open the docs in the add preset, audio and subtitles defaults sheets.
Diffstat (limited to 'macosx/HBAddPresetController.m')
-rw-r--r-- | macosx/HBAddPresetController.m | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/macosx/HBAddPresetController.m b/macosx/HBAddPresetController.m index bac103e15..26d7b96c1 100644 --- a/macosx/HBAddPresetController.m +++ b/macosx/HBAddPresetController.m @@ -188,4 +188,10 @@ typedef NS_ENUM(NSUInteger, HBAddPresetControllerMode) { [NSApp endSheet:self.window returnCode:NSModalResponseAbort]; } +- (IBAction)openUserGuide:(id)sender +{ + [[NSWorkspace sharedWorkspace] openURL:[NSURL + URLWithString:@"https://handbrake.fr/docs/en/latest/advanced/custom-presets.html"]]; +} + @end |