From 6ce6d636928bec9c9ef80343eb53018a43b608ee Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Mon, 12 Sep 2011 00:55:51 +0000 Subject: - Speculative fix for Issue #1154 (problems using some field separators during CSV import) --- Source/SPDataImport.m | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Source') diff --git a/Source/SPDataImport.m b/Source/SPDataImport.m index 77e7f676..ef92996a 100644 --- a/Source/SPDataImport.m +++ b/Source/SPDataImport.m @@ -297,6 +297,9 @@ - (void)importFileSheetDidEnd:(id)sheet returnCode:(NSInteger)returnCode contextInfo:(NSString *)contextInfo { + // Ensure text inputs are completed, preventing dead character entry + [sheet makeFirstResponder:nil]; + // Save values to preferences [prefs setObject:[(NSOpenPanel*)sheet directory] forKey:@"openPath"]; [prefs setObject:[[importFormatPopup selectedItem] title] forKey:@"importFormatPopupValue"]; -- cgit v1.2.3