mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-26 10:49:21 +00:00
Merge pull request #46 from vasi/launcher-add-bundle
Mac: Allow selecting bundles in the disk prefs
This commit is contained in:
commit
0a010b8447
@ -211,7 +211,7 @@ static NSString *makeRelativeIfNecessary(NSString *path)
|
||||
- (IBAction) addDisk: (id) sender
|
||||
{
|
||||
NSOpenPanel *open = [NSOpenPanel openPanel];
|
||||
[open setCanChooseDirectories:NO];
|
||||
[open setCanChooseDirectories:YES];
|
||||
[open setAllowsMultipleSelection:NO];
|
||||
[open setTreatsFilePackagesAsDirectories:YES];
|
||||
[open beginSheetForDirectory: [[NSFileManager defaultManager] currentDirectoryPath]
|
||||
|
Loading…
Reference in New Issue
Block a user