aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableStructureLoading.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPTableStructureLoading.m')
-rw-r--r--Source/SPTableStructureLoading.m3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/SPTableStructureLoading.m b/Source/SPTableStructureLoading.m
index bc90bc43..37e7e398 100644
--- a/Source/SPTableStructureLoading.m
+++ b/Source/SPTableStructureLoading.m
@@ -197,7 +197,6 @@
}
}
-
selectedIndex = 0;
if (encoding && collation) {
@@ -369,7 +368,7 @@
[addFieldButton setEnabled:editingEnabled];
#ifndef SP_CODA
- [addIndexButton setEnabled:editingEnabled];
+ [addIndexButton setEnabled:editingEnabled && ![[[tableDataInstance statusValueForKey:@"Engine"] uppercaseString] isEqualToString:@"CSV"]];
#endif
// Reload the views