mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-05 21:20:00 +00:00
ui-widgets: check for frame before accessing it
This commit is contained in:
@@ -866,6 +866,7 @@ function pfUI.api.SetAllPointsOffset(frame, parent, offset)
|
||||
end
|
||||
|
||||
function pfUI.api.SkinCheckbox(frame, size)
|
||||
if not frame then return end
|
||||
frame:SetNormalTexture("")
|
||||
frame:SetPushedTexture("")
|
||||
frame:SetHighlightTexture("")
|
||||
|
||||
Reference in New Issue
Block a user