Revision: 18249
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=18249&view=rev
Author:   hofman
Date:     2011-11-28 00:42:12 +0000 (Mon, 28 Nov 2011)
Log Message:
-----------
only set field when it's not nil

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

Modified: trunk/bibdesk/BDSKEditor.m
===================================================================
--- trunk/bibdesk/BDSKEditor.m  2011-11-27 23:56:59 UTC (rev 18248)
+++ trunk/bibdesk/BDSKEditor.m  2011-11-28 00:42:12 UTC (rev 18249)
@@ -867,7 +867,8 @@
         field = [tableView selectedRow] == -1 ? nil : [fields 
objectAtIndex:[tableView selectedRow]];
     
     BDSKASSERT(field == nil || [fields containsObject:field]);
-    [changeFieldController setField:field];
+    if (field)
+        [changeFieldController setField:field];
     
        [changeFieldController beginSheetModalForWindow:[self window]
                                       modalDelegate:self

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


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to