From 097f007a34970cd5a8af0f8b3c0bf764e97bebb7 Mon Sep 17 00:00:00 2001 From: Ksaper Date: Fri, 24 Feb 2023 20:41:44 +0200 Subject: [PATCH] Refresh the app list when settings the favorites --- widget/app_launcher/init.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/widget/app_launcher/init.lua b/widget/app_launcher/init.lua index 62d688d..5b72c5e 100644 --- a/widget/app_launcher/init.lua +++ b/widget/app_launcher/init.lua @@ -599,7 +599,9 @@ end -- Sets favorites function app_launcher:set_favorites(favorites) self.favorites = favorites - generate_apps(self) + sort_apps(self) + -- Refresh the app list + search(self, self._private.text) end --- Scrolls up