diff options
author | Bibiko <bibiko@eva.mpg.de> | 2011-01-14 16:52:08 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2011-01-14 16:52:08 +0000 |
commit | 8a00deb294d6dac6a0d1541700b4ca71cdd49bc9 (patch) | |
tree | 15a3b888c58a5632f2fdd2ea36d50f8f4fee4895 | |
parent | c352ef02ae0e81496c9db2b8973a8cdd43669366 (diff) | |
download | sequelpro-8a00deb294d6dac6a0d1541700b4ca71cdd49bc9.tar.gz sequelpro-8a00deb294d6dac6a0d1541700b4ca71cdd49bc9.tar.bz2 sequelpro-8a00deb294d6dac6a0d1541700b4ca71cdd49bc9.zip |
• fixed bug if user invokes Quicklook inside the OpenPanel of the Field Editor Sheet
-rw-r--r-- | Source/SPFieldEditorController.m | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/SPFieldEditorController.m b/Source/SPFieldEditorController.m index 2e761f80..5075ffaf 100644 --- a/Source/SPFieldEditorController.m +++ b/Source/SPFieldEditorController.m @@ -917,7 +917,10 @@ */ - (id)previewPanel:(id)panel previewItemAtIndex:(NSInteger)index { - return [NSURL fileURLWithPath:tmpFileName]; + if(tmpFileName) + return [NSURL fileURLWithPath:tmpFileName]; + + return nil; } /** |