Fixed a reoccurring indexing error
This commit is contained in:
parent
626294e0d8
commit
0a185ad44b
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue