diff options
author | dynaflash <[email protected]> | 2009-01-26 21:34:59 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2009-01-26 21:34:59 +0000 |
commit | f1c3b0a71ede4b578481a980c1e69bf27ab0a2f4 (patch) | |
tree | af79ba12b3c3cb664e6fc2e332d09433273395b4 /macosx/HBOutputPanelController.m | |
parent | a1beb04d523c26c851e820572507cbff8b27e637 (diff) |
MacGui: Picture Filters separate hud inspector initial implementation
- Separates the filters out from the picture settings inspector into their own inspector in preparation for more advanced filters
- Gingerbread is shaky but wanted to get the functionality into the svn due the the number of files modified or added.
- Adds a toggle action to Picture Settings, Picture Filters and the activity window
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2099 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBOutputPanelController.m')
-rw-r--r-- | macosx/HBOutputPanelController.m | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/macosx/HBOutputPanelController.m b/macosx/HBOutputPanelController.m index c22209c28..41506b9b2 100644 --- a/macosx/HBOutputPanelController.m +++ b/macosx/HBOutputPanelController.m @@ -91,10 +91,17 @@ */ - (IBAction)showOutputPanel:(id)sender { + if ([[self window] isVisible]) + { + [[self window] close]; + } + else + { [textView scrollRangeToVisible:NSMakeRange([outputTextStorage length], 0)]; [self showWindow:sender]; [[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"OutputPanelIsOpen"]; + } } - (void) startEncodeLog:(NSString *) logPath |