From 0a185ad44b991eeee62797a5238c9e8263145a37 Mon Sep 17 00:00:00 2001 From: Yessiest Date: Thu, 18 Nov 2021 19:09:39 +0400 Subject: [PATCH] Fixed a reoccurring indexing error --- widgets/polymenu.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/polymenu.lua b/widgets/polymenu.lua index 63d4217..c53db94 100644 --- a/widgets/polymenu.lua +++ b/widgets/polymenu.lua @@ -123,7 +123,7 @@ local function loader(options) tree_path[tree_layer] = new_popup --Apparently it's a thing that needed fixing. --I don't question it, and neither should you. - if geo.x and geo.y then + if geo and geo.x and geo.y then new_popup:move_next_to(geo) end --previous method call aligns the popup to the button,