From 7a5585201e9010e36cd90c69bfdaab8dbda20354 Mon Sep 17 00:00:00 2001 From: Ksaper Date: Sun, 5 Feb 2023 15:58:18 +0200 Subject: [PATCH] whoops --- widget/app_launcher/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/widget/app_launcher/init.lua b/widget/app_launcher/init.lua index 19a5d03..890d76f 100644 --- a/widget/app_launcher/init.lua +++ b/widget/app_launcher/init.lua @@ -388,7 +388,7 @@ local function page_backward(self, dir) elseif self.wrap_page_scrolling and #self._private.matched_entries >= self._private.max_apps_per_page then self._private.current_page = self._private.pages_count elseif self.wrap_app_scrolling then - local app = self._private.grid.children{#self._private.grid.children} + local app = self._private.grid.children[#self._private.grid.children] app:select() return else @@ -413,7 +413,7 @@ local function page_backward(self, dir) local rows, columns = self._private.grid:get_dimension() if self._private.current_page < self._private.pages_count then if dir == "up" then - local app = self._private.grid.children{#self._private.grid.children} + local app = self._private.grid.children[#self._private.grid.children] app:select() else -- Keep the same row from last page