diff options
author | avenjamin <avenjamin@gmail.com> | 2008-12-06 14:06:25 +0000 |
---|---|---|
committer | avenjamin <avenjamin@gmail.com> | 2008-12-06 14:06:25 +0000 |
commit | 1a7130fea502cf627897984fc5a8453e9df9ab00 (patch) | |
tree | 7aec6ce256bc0d8d71c7ad4cf92d99e0c478c7d4 /TableDump.m | |
parent | e9aef1487ae6f889b5c98b48263a95140e89a274 (diff) | |
download | sequelpro-1a7130fea502cf627897984fc5a8453e9df9ab00.tar.gz sequelpro-1a7130fea502cf627897984fc5a8453e9df9ab00.tar.bz2 sequelpro-1a7130fea502cf627897984fc5a8453e9df9ab00.zip |
Known Issue for field mapping when importing a CSV file now resolved.
No longer required to select a table first before selecting the Import... menu item
Diffstat (limited to 'TableDump.m')
-rw-r--r-- | TableDump.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TableDump.m b/TableDump.m index 93204438..0fbd48d0 100644 --- a/TableDump.m +++ b/TableDump.m @@ -291,7 +291,7 @@ { NSPopUpButtonCell *buttonCell = [[NSPopUpButtonCell alloc] init]; - [tableSourceInstance loadTable:[fieldMappingPopup titleOfSelectedItem]]; + [tableListView selectRowIndexes:[NSIndexSet indexSetWithIndex:[[tablesListInstance tables] indexOfObject:[fieldMappingPopup titleOfSelectedItem]]] byExtendingSelection:NO]; //set up tableView currentRow = 0; @@ -466,7 +466,7 @@ [fieldMappingPopup selectItemAtIndex:0]; } - [tableSourceInstance loadTable:[fieldMappingPopup titleOfSelectedItem]]; + [tableListView selectRowIndexes:[NSIndexSet indexSetWithIndex:[[tablesListInstance tables] indexOfObject:[fieldMappingPopup titleOfSelectedItem]]] byExtendingSelection:NO]; //set up tableView currentRow = 0; |