aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-07-02 19:21:10 +0000
committerstuconnolly <stuart02@gmail.com>2010-07-02 19:21:10 +0000
commit94511f3cec3b02dfb05b9aef1cb8fb0eece2924e (patch)
tree113c41a769c6c040e7e4a39da7c6ae9f483552f1 /Source
parentd643a46ce890dccaff49809d5a4f086c8a492814 (diff)
downloadsequelpro-94511f3cec3b02dfb05b9aef1cb8fb0eece2924e.tar.gz
sequelpro-94511f3cec3b02dfb05b9aef1cb8fb0eece2924e.tar.bz2
sequelpro-94511f3cec3b02dfb05b9aef1cb8fb0eece2924e.zip
Improve the preservation of the selected output path of exports between openings of the export dialog.
Diffstat (limited to 'Source')
-rw-r--r--Source/SPExportController.m6
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