Revision: 28339
http://sourceforge.net/p/bibdesk/svn/28339
Author: hofman
Date: 2023-09-13 14:26:12 +0000 (Wed, 13 Sep 2023)
Log Message:
-----------
make sure default value is set on comparison from scripting
Modified Paths:
--------------
trunk/bibdesk/BDSKCondition+Scripting.m
Modified: trunk/bibdesk/BDSKCondition+Scripting.m
===================================================================
--- trunk/bibdesk/BDSKCondition+Scripting.m 2023-09-13 14:15:40 UTC (rev
28338)
+++ trunk/bibdesk/BDSKCondition+Scripting.m 2023-09-13 14:26:12 UTC (rev
28339)
@@ -157,8 +157,8 @@
id newValue = [properties objectForKey:@"scriptingValue"];
if ([newValue isEqual:[NSNull null]])
newValue = nil;
+ [self setDefaultValue];
if (newValue == nil) {
- [self setDefaultValue];
} else if ([self isDateCondition]) {
if ([newValue isKindOfClass:[NSDictionary class]]) {
id value;
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