aboutsummaryrefslogtreecommitdiffstats
path: root/TableDump.m
diff options
context:
space:
mode:
Diffstat (limited to 'TableDump.m')
-rw-r--r--TableDump.m4
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;