Revision: 28074
          http://sourceforge.net/p/bibdesk/svn/28074
Author:   hofman
Date:     2022-11-19 18:24:21 +0000 (Sat, 19 Nov 2022)
Log Message:
-----------
fix property name to check for file URLs

Modified Paths:
--------------
    trunk/bibdesk/BDSKFieldCollection.m

Modified: trunk/bibdesk/BDSKFieldCollection.m
===================================================================
--- trunk/bibdesk/BDSKFieldCollection.m 2022-11-19 07:30:23 UTC (rev 28073)
+++ trunk/bibdesk/BDSKFieldCollection.m 2022-11-19 18:24:21 UTC (rev 28074)
@@ -76,7 +76,7 @@
             value = (id)[item groupArrayForField:key];
         } else if (type == BDSKURLTypeFieldCollection) {
             value = (id)[item URLForField:key];
-            if ([value isFile])
+            if ([value isFileURL])
                 value = [[NSWorkspace sharedWorkspace] typeOfFile:[value path] 
error:NULL];
             else if (value)
                 value = [NSString stringWithFormat:@"%@ %@", [value scheme], 
[value pathExtension] ?: @""];

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to