minor lua error

This commit is contained in:
andrew6180
2025-03-17 10:09:33 -07:00
parent cd563245b8
commit 97ec416392
+3
View File
@@ -338,6 +338,9 @@ function S:HandleScrollList(scrollList, skinCallback)
elseif not scrollList.elvInitHook then elseif not scrollList.elvInitHook then
scrollList.elvInitHook = true scrollList.elvInitHook = true
hooksecurefunc(scrollList, "RefreshScrollFrame", function(self) hooksecurefunc(scrollList, "RefreshScrollFrame", function(self)
if not self.ScrollFrame.buttons then
return
end
for _, button in ipairs(self.ScrollFrame.buttons) do for _, button in ipairs(self.ScrollFrame.buttons) do
HandleScrollListButton(button) HandleScrollListButton(button)
end end