From 99bb78bfb26deb9bf1223c1ceb4968cc922592fd Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Tue, 17 Sep 2013 00:29:11 +0000 Subject: Updating the Info.plist files. Don't deny directories being open, just in case we get to support UTIs that are OS X packages. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87222 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/PcsxrController.m | 6 ------ 1 file changed, 6 deletions(-) (limited to 'macosx/PcsxrController.m') diff --git a/macosx/PcsxrController.m b/macosx/PcsxrController.m index f517ba3d..c7d1e18b 100755 --- a/macosx/PcsxrController.m +++ b/macosx/PcsxrController.m @@ -139,9 +139,6 @@ static void PSXDiscAppearedCallback(DADiskRef disk, void *context) // switch to another ISO if using internal image reader, otherwise eject the CD if (UsingIso()) { NSOpenPanel* openDlg = [NSOpenPanel openPanel]; - - [openDlg setCanChooseFiles:YES]; - [openDlg setCanChooseDirectories:NO]; [openDlg setAllowedFileTypes:[PcsxrDiscHandler supportedUTIs]]; if ([openDlg runModal] == NSFileHandlingPanelOKButton) { @@ -248,9 +245,6 @@ static void PSXDiscAppearedCallback(DADiskRef disk, void *context) - (IBAction)runIso:(id)sender { NSOpenPanel* openDlg = [NSOpenPanel openPanel]; - - [openDlg setCanChooseFiles:YES]; - [openDlg setCanChooseDirectories:NO]; [openDlg setAllowedFileTypes:[PcsxrDiscHandler supportedUTIs]]; if ([openDlg runModal] == NSFileHandlingPanelOKButton) { -- cgit v1.2.3