From c1fe82bd22b392c72ad75eb7f2f770483716915b Mon Sep 17 00:00:00 2001 From: hius07 <62179190+hius07@users.noreply.github.com> Date: Tue, 1 Apr 2025 09:34:20 +0300 Subject: [PATCH] vocabbuilder main: fix SortWidget method name (#13495) --- plugins/vocabbuilder.koplugin/main.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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."),