aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAppController.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-01-15 09:36:16 +0000
committerBibiko <bibiko@eva.mpg.de>2010-01-15 09:36:16 +0000
commit465ebcfd614ff0623c67983fb960d334fb0c2ccc (patch)
tree53899b5a5b86f76542b6e6f2bf0377de32b5f05a /Source/SPAppController.m
parent4d04f38f03981bf09a7b257afdc8f4d8a7b7f8e4 (diff)
downloadsequelpro-465ebcfd614ff0623c67983fb960d334fb0c2ccc.tar.gz
sequelpro-465ebcfd614ff0623c67983fb960d334fb0c2ccc.tar.bz2
sequelpro-465ebcfd614ff0623c67983fb960d334fb0c2ccc.zip
• removed from each open panel:
[panel setResolvesAliases:YES] For some reasons it could happen that the panel didn't response to dragging files into it correctly and sometimes SP crashed after selecting a directory in its sidebar. By removing "resolve aliases" the panel seems to work properly. This has to be verified by further tests.
Diffstat (limited to 'Source/SPAppController.m')
-rw-r--r--Source/SPAppController.m5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/SPAppController.m b/Source/SPAppController.m
index 4421f624..490edac3 100644
--- a/Source/SPAppController.m
+++ b/Source/SPAppController.m
@@ -134,7 +134,10 @@
[panel setDelegate:self];
[panel setCanChooseDirectories:NO];
[panel setAllowsMultipleSelection:YES];
- [panel setResolvesAliases:YES];
+ // TODO: it seems that setting setResolvesAliases to YES causes some
+ // problems in dragging files to the panel and changing to directory could crash SP
+ // ask Hans for details
+ // [panel setResolvesAliases:YES];
// If no lastSqlFileEncoding in prefs set it to UTF-8
if(![[NSUserDefaults standardUserDefaults] integerForKey:SPLastSQLFileEncoding]) {