aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-12-17 22:47:08 +0000
committerstuconnolly <stuart02@gmail.com>2012-12-17 22:47:08 +0000
commit060cd9f1c3869a0fdc6aab5b8cf16fa7af423661 (patch)
tree972db384f979a5c005cc79b38ff5398ea648a9a7
parent094b7ca1746c8ed94b9a8362929b2532e2fb76f5 (diff)
downloadsequelpro-060cd9f1c3869a0fdc6aab5b8cf16fa7af423661.tar.gz
sequelpro-060cd9f1c3869a0fdc6aab5b8cf16fa7af423661.tar.bz2
sequelpro-060cd9f1c3869a0fdc6aab5b8cf16fa7af423661.zip
Issue #1495: Fix crash on export after the table list is refreshed due to the selection not being preserved correctly.
-rw-r--r--Source/SPExportController.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPExportController.m b/Source/SPExportController.m
index b014cd4e..144fd14c 100644
--- a/Source/SPExportController.m
+++ b/Source/SPExportController.m
@@ -421,7 +421,8 @@ static const NSString *SPSQLExportDropEnabled = @"SQLExportDropEnabled";
[tableDict setObject:[NSArray arrayWithObjects:
[item objectAtIndex:1],
[item objectAtIndex:2],
- [item objectAtIndex:3],
+ [item objectAtIndex:3],
+ [item objectAtIndex:4],
nil]
forKey:[item objectAtIndex:0]];
}