MenuSorter: review comments and various bug fixes

* fixed wrongful retention of submenus variable and added return to MenuSorter:findById
* fixed readerfooter_spec.lua error
* fixed review comments
This commit is contained in:
Frans de Jonge committed 2017-03-26 11:12:44 +02:00
1 parent aa0bf60ccb
commit b7b5950e98
23 files changed
+133 -129

No files matched your search

@@ -119,7 +119,7 @@ end
function ReaderHyphenation:addToMainMenu(tab_item_table)
-- insert table to main reader menu
self.ui.menu.menu_items["hyphenation"] = {
self.ui.menu.menu_items.hyphenation = {
text = self.hyph_menu_title,
sub_item_table = self.hyph_table,
}