From: <ho...@us...> - 2006-07-22 14:49:16
|
Revision: 7092 Author: hofman Date: 2006-07-22 07:49:01 -0700 (Sat, 22 Jul 2006) ViewCVS: http://svn.sourceforge.net/bibdesk/?rev=7092&view=rev Log Message: ----------- Fix a crasher, mutableCopy the publications of a static group, as it should be a mutableArray. Modified Paths: -------------- trunk/bibdesk/BDSKGroup.m Modified: trunk/bibdesk/BDSKGroup.m =================================================================== --- trunk/bibdesk/BDSKGroup.m 2006-07-22 07:41:52 UTC (rev 7091) +++ trunk/bibdesk/BDSKGroup.m 2006-07-22 14:49:01 UTC (rev 7092) @@ -435,7 +435,7 @@ if (newPublications != publications) { [[[self undoManager] prepareWithInvocationTarget:self] setPublications:publications]; [publications release]; - publications = [newPublications retain]; + publications = [newPublications mutableCopy]; [self setCount:[publications count]]; [[NSNotificationCenter defaultCenter] postNotificationName:BDSKStaticGroupChangedNotification object:self]; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |