From 18a4fd55833cfa8fad1998b1017aac486ef90115 Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Mon, 19 Jan 2026 03:46:14 -0800 Subject: fix sorting bug on favourites menu --- main.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.lua') diff --git a/main.lua b/main.lua index 7e5346c..b9046b7 100644 --- a/main.lua +++ b/main.lua @@ -439,7 +439,7 @@ local function refresh_favourites_menu() local opt = menu.options[menu.cursor] local sorted = menu.sorted if sorted then - menu.set_sort(false) + menu:set_sort(false) end local options = group_menu_options(catalogue:get(menu.group_id)) @@ -473,7 +473,7 @@ local function refresh_favourites_menu() menu.options = res if sorted then - menu.set_sort(true, sort_options) + menu:set_sort(true, sort_options) end if opt then cursor_to_object(opt.id) -- cgit v1.2.3-70-g09d2