diff options
-rw-r--r-- | Source/SPTableStructure.m | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/SPTableStructure.m b/Source/SPTableStructure.m index 9d6b1fec..f5879f4e 100644 --- a/Source/SPTableStructure.m +++ b/Source/SPTableStructure.m @@ -1061,6 +1061,11 @@ if ([menuItem action] == @selector(duplicateField:)) { return ([tableSourceView numberOfSelectedRows] == 1); } + + //show optimized field type + if([menuItem action] == @selector(showOptimizedFieldType:)) { + return ([tableSourceView numberOfSelectedRows] == 1); + } // Reset AUTO_INCREMENT if ([menuItem action] == @selector(resetAutoIncrement:)) { |