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 | |
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.
-rw-r--r-- | Source/SPAppController.m | 5 | ||||
-rw-r--r-- | Source/SPContentFilterManager.m | 2 | ||||
-rw-r--r-- | Source/SPQueryFavoriteManager.m | 2 |
3 files changed, 6 insertions, 3 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]) { diff --git a/Source/SPContentFilterManager.m b/Source/SPContentFilterManager.m index e1d7e389..34a3b214 100644 --- a/Source/SPContentFilterManager.m +++ b/Source/SPContentFilterManager.m @@ -318,7 +318,7 @@ [panel setDelegate:self]; [panel setCanChooseDirectories:NO]; [panel setAllowsMultipleSelection:NO]; - [panel setResolvesAliases:YES]; + // [panel setResolvesAliases:YES]; [panel beginSheetForDirectory:nil file:@"" diff --git a/Source/SPQueryFavoriteManager.m b/Source/SPQueryFavoriteManager.m index ef458c87..2745f83c 100644 --- a/Source/SPQueryFavoriteManager.m +++ b/Source/SPQueryFavoriteManager.m @@ -322,7 +322,7 @@ [panel setDelegate:self]; [panel setCanChooseDirectories:NO]; [panel setAllowsMultipleSelection:NO]; - [panel setResolvesAliases:YES]; + // [panel setResolvesAliases:YES]; [panel beginSheetForDirectory:nil file:@"" |