From 328886326a8133694a22134c42d6599340d73b15 Mon Sep 17 00:00:00 2001 From: ritsuka Date: Thu, 22 Jan 2015 10:48:06 +0000 Subject: 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 --- macosx/HBController.m | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'macosx/HBController.m') 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; -- cgit v1.2.3