diff options
author | stuconnolly <stuart02@gmail.com> | 2009-07-02 20:41:30 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2009-07-02 20:41:30 +0000 |
commit | 965294442817fcd7ad2fdf1ca002b0a2416b858b (patch) | |
tree | 76c1408ff20ef11a800591b02bb284b4ffea3afc /Source | |
parent | 80de4434635b34f459531547dc7670987d394b98 (diff) | |
download | sequelpro-965294442817fcd7ad2fdf1ca002b0a2416b858b.tar.gz sequelpro-965294442817fcd7ad2fdf1ca002b0a2416b858b.tar.bz2 sequelpro-965294442817fcd7ad2fdf1ca002b0a2416b858b.zip |
Fix warnings caused by calls to validateMenuItem: being passed to NSObject by returning YES by default.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPTableRelations.m | 2 | ||||
-rw-r--r-- | Source/TableContent.m | 2 | ||||
-rw-r--r-- | Source/TableSource.m | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Source/SPTableRelations.m b/Source/SPTableRelations.m index a65de7ea..e2c5f23c 100644 --- a/Source/SPTableRelations.m +++ b/Source/SPTableRelations.m @@ -314,7 +314,7 @@ return ([relationsTableView numberOfSelectedRows] > 0); } - return [super validateMenuItem:menuItem]; + return YES; } /* diff --git a/Source/TableContent.m b/Source/TableContent.m index 9a96a28a..3ed6dd43 100644 --- a/Source/TableContent.m +++ b/Source/TableContent.m @@ -2568,7 +2568,7 @@ objectValueForTableColumn:(NSTableColumn *)aTableColumn return ([tableContentView numberOfSelectedRows] == 1); } - return [super validateMenuItem:menuItem]; + return YES; } // Last but not least diff --git a/Source/TableSource.m b/Source/TableSource.m index f29cc6f9..f604f466 100644 --- a/Source/TableSource.m +++ b/Source/TableSource.m @@ -944,7 +944,7 @@ fetches the result as an array with a dictionary for each row in it return ([indexView numberOfSelectedRows] == 1); } - return [super validateMenuItem:menuItem]; + return YES; } #pragma mark - |