vocabbuilder main: fix SortWidget method name (#13495)
Some checks are pending
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Waiting to run
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Waiting to run

This commit is contained in:
hius07
2025-04-01 09:34:20 +03:00
committed by GitHub
parent 25101d2bb5
commit c1fe82bd22

View File

@@ -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."),