diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-01-15 09:36:16 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-01-15 09:36:16 +0000 |
commit | 465ebcfd614ff0623c67983fb960d334fb0c2ccc (patch) | |
tree | 53899b5a5b86f76542b6e6f2bf0377de32b5f05a /Source/SPAppController.m | |
parent | 4d04f38f03981bf09a7b257afdc8f4d8a7b7f8e4 (diff) | |
download | sequelpro-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.m | 5 |
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]) { |