summaryrefslogtreecommitdiffstats
path: root/macosx/HBOutputPanelController.m
diff options
context:
space:
mode:
authorritsuka <damiog@gmail.com>2015-04-07 16:14:30 +0000
committerritsuka <damiog@gmail.com>2015-04-07 16:14:30 +0000
commit13d0d1d579a7e56ac2e2978994e3f0e74d324bba (patch)
tree557b0bc93f0d4c42028ae5c3a6cd80989b52fbfa /macosx/HBOutputPanelController.m
parent3f537cb97206f609c62867b32f262dd716b8df31 (diff)
MacGui: changed the Preview Window and Picture Panel behaviour to avoid the hide and show thing when loading a new title, now they can always be opened even if no title is loaded.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7065 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBOutputPanelController.m')
-rw-r--r--macosx/HBOutputPanelController.m18
1 files changed, 2 insertions, 16 deletions
diff --git a/macosx/HBOutputPanelController.m b/macosx/HBOutputPanelController.m
index 2fc5f3032..7555afe77 100644
--- a/macosx/HBOutputPanelController.m
+++ b/macosx/HBOutputPanelController.m
@@ -94,17 +94,8 @@
*/
- (IBAction)showWindow:(id)sender
{
- if ([[self window] isVisible])
- {
- [[self window] close];
- }
- else
- {
- [textView scrollToEndOfDocument:self];
- [super showWindow:sender];
-
- [[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"OutputPanelIsOpen"];
- }
+ [textView scrollToEndOfDocument:self];
+ [super showWindow:sender];
}
/**
@@ -183,9 +174,4 @@
[self.outputFile clear];
}
-- (void)windowWillClose:(NSNotification *)aNotification
-{
- [[NSUserDefaults standardUserDefaults] setBool:NO forKey:@"OutputPanelIsOpen"];
-}
-
@end