Skip to content

Commit

Permalink
Mac: Allow selecting bundles in the disk prefs
Browse files Browse the repository at this point in the history
Users should be able to select sparsebundles in the disk prefs, but should
still be able to navigate inside .sheepvm bundles.

See cebix#25 (comment)
  • Loading branch information
vasi committed Aug 11, 2013
1 parent 44c7e44 commit 3914fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SheepShaver/src/MacOSX/Launcher/VMSettingsController.mm
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ - (void) editSettingsForNewVM: (NSString *) vmdir sender: (id) sender
- (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]
Expand Down

0 comments on commit 3914fd4

Please sign in to comment.