diff --git a/plugins/vocabbuilder.koplugin/main.lua b/plugins/vocabbuilder.koplugin/main.lua index 6b99d36fd..ccfc31a50 100644 --- a/plugins/vocabbuilder.koplugin/main.lua +++ b/plugins/vocabbuilder.koplugin/main.lua @@ -384,7 +384,7 @@ function MenuDialog:setupBookMenu(sort_item, onSuccess) item.callback() end end - self.show_parent:goToPage(self.show_parent.show_page) + self.show_parent:onGoToPage(self.show_parent.show_page) end } local select_all_button = { @@ -396,7 +396,7 @@ function MenuDialog:setupBookMenu(sort_item, onSuccess) item.callback() end end - self.show_parent:goToPage(self.show_parent.show_page) + self.show_parent:onGoToPage(self.show_parent.show_page) end } local select_page_all_button = { @@ -408,7 +408,7 @@ function MenuDialog:setupBookMenu(sort_item, onSuccess) content.item.callback() end end - self.show_parent:goToPage(self.show_parent.show_page) + self.show_parent:onGoToPage(self.show_parent.show_page) end } local deselect_page_all_button = { @@ -420,7 +420,7 @@ function MenuDialog:setupBookMenu(sort_item, onSuccess) content.item.callback() end end - self.show_parent:goToPage(self.show_parent.show_page) + self.show_parent:onGoToPage(self.show_parent.show_page) end } local buttons = ButtonTable:new{ @@ -1220,7 +1220,7 @@ function VocabItemWidget:onShowBookAssignment(title_changed_cb) self.show_parent:showChangeBookTitleDialog(sort_item, onSuccess) end }) - sort_widget:goToPage(sort_widget.show_page) + sort_widget:onGoToPage(sort_widget.show_page) else UIManager:show(require("ui/widget/notification"):new{ text = _("Book title already in use."),