summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authordynaflash <[email protected]>2009-03-06 17:12:40 +0000
committerdynaflash <[email protected]>2009-03-06 17:12:40 +0000
commit226c635e8e5969629deb972521f45047df6230fe (patch)
treedd87f79821b6088e50e96e68712f4e55a9238a89 /macosx
parentf6a38ba0f0081bd88db74d2d66e9c464bf4ed737 (diff)
MacGui: Fix issue where sometimes hb would not remember that the preview window was open at last quit.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2233 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r--macosx/PictureController.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/macosx/PictureController.mm b/macosx/PictureController.mm
index 19be913ba..5dae523b9 100644
--- a/macosx/PictureController.mm
+++ b/macosx/PictureController.mm
@@ -69,6 +69,7 @@
- (IBAction) showPreviewWindow: (id)sender
{
+ [[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"PreviewWindowIsOpen"];
[fPreviewController showWindow:sender];
}