diff options
-rw-r--r-- | Source/SPExportController.m | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/SPExportController.m b/Source/SPExportController.m index d21e0079..6f072e84 100644 --- a/Source/SPExportController.m +++ b/Source/SPExportController.m @@ -434,10 +434,8 @@ [panel setCanChooseFiles:NO]; [panel setCanChooseDirectories:YES]; [panel setCanCreateDirectories:YES]; - - NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDesktopDirectory, NSUserDomainMask, YES); - - [panel beginSheetForDirectory:([paths count] > 0) ? [paths objectAtIndex:0] : NSHomeDirectory() + + [panel beginSheetForDirectory:nil file:nil modalForWindow:[self window] modalDelegate:self |