Revision: 26160
          http://sourceforge.net/p/bibdesk/svn/26160
Author:   hofman
Date:     2021-06-07 17:55:13 +0000 (Mon, 07 Jun 2021)
Log Message:
-----------
Edit column 2 as raw bibtex

Modified Paths:
--------------
    trunk/bibdesk/BDSKTextImportController.m

Modified: trunk/bibdesk/BDSKTextImportController.m
===================================================================
--- trunk/bibdesk/BDSKTextImportController.m    2021-06-07 17:30:05 UTC (rev 
26159)
+++ trunk/bibdesk/BDSKTextImportController.m    2021-06-07 17:55:13 UTC (rev 
26160)
@@ -394,7 +394,7 @@
         return;
     NSString *value = [[self publication] valueOfField:[fields 
objectAtIndex:row]];
     NSText *fieldEditor = [itemTableView currentEditor];
-    if (fieldEditor && [itemTableView editedRow] != 2) {
+    if (fieldEditor && [itemTableView editedColumn] != 2) {
         [[self window] makeFirstResponder:nil];
         fieldEditor = nil;
     }
@@ -1078,7 +1078,7 @@
         return;
     if (complexStringEditor == nil)
         complexStringEditor = [[BDSKComplexStringEditor alloc] 
initWithMacroResolver:[self macroResolver] enabled:YES];
-    [complexStringEditor attachToControl:itemTableView atRow:row column:1 
withValue:object];
+    [complexStringEditor attachToControl:itemTableView atRow:row column:2 
withValue:object];
 }
 
 #pragma mark BDSKCitationFormatter and BDSKTextImportItemTableView delegate

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

Reply via email to