mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-11 10:30:09 +00:00
Mac: Allow selecting bundles in the disk prefs
Users should be able to select sparsebundles in the disk prefs, but should still be able to navigate inside .sheepvm bundles. See https://github.com/cebix/macemu/pull/25#issuecomment-15900806
This commit is contained in:
parent
44c7e447a7
commit
3914fd4a20
@ -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…
x
Reference in New Issue
Block a user