diff options
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) { |