Revision: 27446
http://sourceforge.net/p/bibdesk/svn/27446
Author: hofman
Date: 2022-05-20 15:06:28 +0000 (Fri, 20 May 2022)
Log Message:
-----------
no need to get cite keys when ignoring edit
Modified Paths:
--------------
trunk/bibdesk/BDSKEditor.m
Modified: trunk/bibdesk/BDSKEditor.m
===================================================================
--- trunk/bibdesk/BDSKEditor.m 2022-05-20 14:50:44 UTC (rev 27445)
+++ trunk/bibdesk/BDSKEditor.m 2022-05-20 15:06:28 UTC (rev 27446)
@@ -1169,10 +1169,13 @@
}
- (IBAction)changeCiteKey:(id)sender {
+ if (editorFlags.isEditable == NO)
+ return;
+
NSString *newKey = [sender stringValue];
NSString *oldKey = [[[publication citeKey] retain] autorelease];
- if (editorFlags.isEditable && [newKey isEqualToString:oldKey] == NO) {
+ if ([newKey isEqualToString:oldKey] == NO) {
[publication setCiteKey:newKey];
[[self undoManager] setActionName:NSLocalizedString(@"Change Cite
Key", @"Undo action name")];
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