diff options
author | ritsuka <[email protected]> | 2015-01-22 10:48:06 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-01-22 10:48:06 +0000 |
commit | 328886326a8133694a22134c42d6599340d73b15 (patch) | |
tree | 3bfce6d605d8cc648e03c443dc111fdf31b60616 /macosx/HBController.m | |
parent | a6336a4841332056a538c4488ca7a410b6444ec7 (diff) |
MacGui: add back the drawer code I accidentally removed previously.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6787 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBController.m')
-rw-r--r-- | macosx/HBController.m | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/macosx/HBController.m b/macosx/HBController.m index b8f78fa9c..a1d1b2a43 100644 --- a/macosx/HBController.m +++ b/macosx/HBController.m @@ -8,7 +8,6 @@ #import "HBQueueController.h" -#import "HBOutputPanelController.h" #import "HBPresetsManager.h" #import "HBPreset.h" #import "HBUtilities.h" @@ -129,6 +128,13 @@ [fPresetDrawer setContentSize: drawerSize]; } + // Show/Hide the Presets drawer upon launch based + // on user preference DefaultPresetsDrawerShow + if ([[NSUserDefaults standardUserDefaults] boolForKey:@"HBDefaultPresetsDrawerShow"]) + { + [fPresetDrawer open:self]; + } + // Align the start / stop widgets with the chapter popups NSPoint startPoint = [fSrcChapterStartPopUp frame].origin; startPoint.y += 2; |