diff options
author | dmoagx <post@wickenrode.com> | 2013-05-24 21:25:26 +0000 |
---|---|---|
committer | dmoagx <post@wickenrode.com> | 2013-05-24 21:25:26 +0000 |
commit | ce0e6cf2c70ef1441e258e91dfed2e8f45a6185f (patch) | |
tree | 333f8b3101735572ddf3a9ad92eca68a02760387 /Source | |
parent | 09db04621e284c109391efe3b0bbc70b26b043b4 (diff) | |
download | sequelpro-ce0e6cf2c70ef1441e258e91dfed2e8f45a6185f.tar.gz sequelpro-ce0e6cf2c70ef1441e258e91dfed2e8f45a6185f.tar.bz2 sequelpro-ce0e6cf2c70ef1441e258e91dfed2e8f45a6185f.zip |
* Fixes validation of "Show Optimized Field Type" item (issue #1729)
Diffstat (limited to 'Source')
-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:)) { |