aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableStructure.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPTableStructure.m')
-rw-r--r--Source/SPTableStructure.m8
1 files changed, 1 insertions, 7 deletions
diff --git a/Source/SPTableStructure.m b/Source/SPTableStructure.m
index 8e6b7e77..1cd5ca4e 100644
--- a/Source/SPTableStructure.m
+++ b/Source/SPTableStructure.m
@@ -758,13 +758,7 @@
*/
- (void)setAutoIncrementTo:(NSString*)valueAsString
{
- NSString *selTable = nil;
-
- // if selectedTable is nil try to get the name from SPTablesList
- if (selectedTable == nil || ![selectedTable length])
- selTable = [tablesListInstance tableName];
- else
- selTable = [NSString stringWithString:selectedTable];
+ NSString *selTable = [tablesListInstance tableName];
if (selTable == nil || ![selTable length]) return;