diff options
author | mltownsend <mltownsend@gmail.com> | 2009-08-11 20:45:28 +0000 |
---|---|---|
committer | mltownsend <mltownsend@gmail.com> | 2009-08-11 20:45:28 +0000 |
commit | 9cbae0171595e4afbd6109098b89f1922c623827 (patch) | |
tree | 8d97d4d58f118ee1d44e65c32327008a033cae96 /Source/TablesList.m | |
parent | f5dd205cc35a1825152dc2a32bc339182706fcc8 (diff) | |
download | sequelpro-9cbae0171595e4afbd6109098b89f1922c623827.tar.gz sequelpro-9cbae0171595e4afbd6109098b89f1922c623827.tar.bz2 sequelpro-9cbae0171595e4afbd6109098b89f1922c623827.zip |
Fix some MainMenu references by index.
Diffstat (limited to 'Source/TablesList.m')
-rw-r--r-- | Source/TablesList.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/TablesList.m b/Source/TablesList.m index 4f852f9b..8be7a505 100644 --- a/Source/TablesList.m +++ b/Source/TablesList.m @@ -1090,7 +1090,7 @@ // Set gear menu items Remove/Duplicate table/view and mainMenu > Table items // according to the table types - NSMenu *tableSubMenu = [[[NSApp mainMenu] itemAtIndex:5] submenu]; + NSMenu *tableSubMenu = [[[NSApp mainMenu] itemWithTitle:@"Table"] submenu]; if(selectedTableType == SP_TABLETYPE_VIEW) { |