minor lua error
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user