Revision: 27439 http://sourceforge.net/p/bibdesk/svn/27439 Author: hofman Date: 2022-05-19 14:51:48 +0000 (Thu, 19 May 2022) Log Message: ----------- No need to pass initial value for complex string editor, it should be returned from the formatter
Modified Paths: -------------- trunk/bibdesk/BDSKComplexStringEditor.h trunk/bibdesk/BDSKComplexStringEditor.m trunk/bibdesk/BDSKComplexStringFormatter.m Modified: trunk/bibdesk/BDSKComplexStringEditor.h =================================================================== --- trunk/bibdesk/BDSKComplexStringEditor.h 2022-05-19 14:50:22 UTC (rev 27438) +++ trunk/bibdesk/BDSKComplexStringEditor.h 2022-05-19 14:51:48 UTC (rev 27439) @@ -51,7 +51,7 @@ - (id)initWithFormatter:(BDSKComplexStringFormatter *)aFormatter; -- (void)attachToEditor:(NSText *)textObj withValue:(NSString *)value; +- (void)attachToEditor:(NSText *)textObj; - (void)remove; Modified: trunk/bibdesk/BDSKComplexStringEditor.m =================================================================== --- trunk/bibdesk/BDSKComplexStringEditor.m 2022-05-19 14:50:22 UTC (rev 27438) +++ trunk/bibdesk/BDSKComplexStringEditor.m 2022-05-19 14:51:48 UTC (rev 27439) @@ -79,7 +79,7 @@ [super dealloc]; } -- (void)attachToEditor:(NSText *)textObj withValue:(NSString *)value { +- (void)attachToEditor:(NSText *)textObj { if ([self isAttached]) [self remove]; Modified: trunk/bibdesk/BDSKComplexStringFormatter.m =================================================================== --- trunk/bibdesk/BDSKComplexStringFormatter.m 2022-05-19 14:50:22 UTC (rev 27438) +++ trunk/bibdesk/BDSKComplexStringFormatter.m 2022-05-19 14:51:48 UTC (rev 27439) @@ -157,7 +157,7 @@ if (editAsComplexString) { if (complexStringEditor == nil) complexStringEditor = [[BDSKComplexStringEditor alloc] initWithFormatter:self]; - [complexStringEditor attachToEditor:textObj withValue:editedValue]; + [complexStringEditor attachToEditor:textObj]; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit