aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableStructure.m
diff options
context:
space:
mode:
authordmoagx <post@wickenrode.com>2013-05-24 21:25:26 +0000
committerdmoagx <post@wickenrode.com>2013-05-24 21:25:26 +0000
commitce0e6cf2c70ef1441e258e91dfed2e8f45a6185f (patch)
tree333f8b3101735572ddf3a9ad92eca68a02760387 /Source/SPTableStructure.m
parent09db04621e284c109391efe3b0bbc70b26b043b4 (diff)
downloadsequelpro-ce0e6cf2c70ef1441e258e91dfed2e8f45a6185f.tar.gz
sequelpro-ce0e6cf2c70ef1441e258e91dfed2e8f45a6185f.tar.bz2
sequelpro-ce0e6cf2c70ef1441e258e91dfed2e8f45a6185f.zip
* Fixes validation of "Show Optimized Field Type" item (issue #1729)
Diffstat (limited to 'Source/SPTableStructure.m')
-rw-r--r--Source/SPTableStructure.m5
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:)) {