From 20a22bbffa77ab514210d9defa01afd7bb0bba3a Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Mon, 8 Dec 2008 01:34:24 +0000 Subject: Fix a regression for CSV field mapping caused by r233 - SVN merged TableDump and evidently decided my version was newer without declaring it a conflict. Fixed. --- TableDump.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TableDump.m b/TableDump.m index 859bc233..de7b30db 100644 --- a/TableDump.m +++ b/TableDump.m @@ -519,9 +519,9 @@ [buttonCell setFont:[NSFont labelFontOfSize:[NSFont smallSystemFontSize]]]; [buttonCell setBordered:NO]; [buttonCell addItemWithTitle:NSLocalizedString(@"Do not import", @"text for csv import drop downs")]; - [buttonCell addItemsWithTitles:[tableSourceInstance fieldNames]]; + [buttonCell addItemsWithTitles:[importArray objectAtIndex:currentRow]]; - [[fieldMappingTableView tableColumnWithIdentifier:@"1"] setDataCell:buttonCell]; + [[fieldMappingTableView tableColumnWithIdentifier:@"value"] setDataCell:buttonCell]; // show fieldMapping sheet [NSApp beginSheet:fieldMappingSheet -- cgit v1.2.3