From: dynaflash Date: Fri, 6 Mar 2009 17:12:40 +0000 (+0000) Subject: MacGui: Fix issue where sometimes hb would not remember that the preview window was... X-Git-Tag: 0.9.4~728 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=226c635e8e5969629deb972521f45047df6230fe;p=handbrake 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 --- 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]; }