Revision: 27422
http://sourceforge.net/p/bibdesk/svn/27422
Author: hofman
Date: 2022-05-15 15:08:18 +0000 (Sun, 15 May 2022)
Log Message:
-----------
no need to explicitly update the editor textfield button in changeValue, this
should happen implicitly in the bibDidChange notification that results from
changing the field's value
Modified Paths:
--------------
trunk/bibdesk/BDSKEditor.m
Modified: trunk/bibdesk/BDSKEditor.m
===================================================================
--- trunk/bibdesk/BDSKEditor.m 2022-05-15 14:28:36 UTC (rev 27421)
+++ trunk/bibdesk/BDSKEditor.m 2022-05-15 15:08:18 UTC (rev 27422)
@@ -1159,12 +1159,7 @@
if (editorFlags.isEditable && NO == [value
isEqualAsComplexString:oldValue]) {
[self recordChangingField:field toValue:value];
- id object = nil;
- if ([value isInherited] || ([field isEqualToString:BDSKCrossrefString]
&& [NSString isEmptyString:value] == NO))
- object = [[[BDSKField alloc] initWithName:field bibItem:nil]
autorelease];
- else if ([field isURLField])
- object = [publication URLForField:field];
- [sender setRepresentedObject:object];
+ // button should be update implicitly by the bibDidChange notification
} else if ([oldValue isInherited]) {
// just selecting also changes the objectValue
[sender setObjectValue:oldValue];
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