diff options
author | sqlprodev <sqlprodev@northofthree.com> | 2011-05-19 22:47:53 +0000 |
---|---|---|
committer | sqlprodev <sqlprodev@northofthree.com> | 2011-05-19 22:47:53 +0000 |
commit | c80db3a0d26b394b9c88fc6ef19a90cda5340440 (patch) | |
tree | d79af344b053e24393864382958e490f4b844735 /Source/SPTableStructureDelegate.m | |
parent | 838faafed7af37723e8f900a6cba846a29507db2 (diff) | |
download | sequelpro-c80db3a0d26b394b9c88fc6ef19a90cda5340440.tar.gz sequelpro-c80db3a0d26b394b9c88fc6ef19a90cda5340440.tar.bz2 sequelpro-c80db3a0d26b394b9c88fc6ef19a90cda5340440.zip |
merging SP_REFACTOR branch with trunk
Diffstat (limited to 'Source/SPTableStructureDelegate.m')
-rw-r--r-- | Source/SPTableStructureDelegate.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/SPTableStructureDelegate.m b/Source/SPTableStructureDelegate.m index 4e04ca05..912be276 100644 --- a/Source/SPTableStructureDelegate.m +++ b/Source/SPTableStructureDelegate.m @@ -127,12 +127,14 @@ // Asks the user to add an index to query if AUTO_INCREMENT is set and field isn't indexed if ((![currentRow objectForKey:@"Key"] || [[currentRow objectForKey:@"Key"] isEqualToString:@""])) { +#ifndef SP_REFACTOR [chooseKeyButton selectItemWithTag:SPPrimaryKeyMenuTag]; [NSApp beginSheet:keySheet modalForWindow:[tableDocumentInstance parentWindow] modalDelegate:self didEndSelector:@selector(sheetDidEnd:returnCode:contextInfo:) contextInfo:@"autoincrementindex" ]; +#endif } } else { autoIncrementIndex = nil; |