(fix/Groups) Dynamic Group and Group Thumbnails Also Use SetTextureOrSpellTexture
This commit is contained in:
@@ -673,7 +673,7 @@ local function modifyThumbnail(parent, frame, data)
|
||||
icon:SetAllPoints(frame)
|
||||
frame.icon = icon
|
||||
end
|
||||
local success = frame.icon:SetTexture(path or data.groupIcon) and (path or data.groupIcon)
|
||||
local success = OptionsPrivate.Private.SetTextureOrSpellTexture(frame.icon, path or data.groupIcon) and (path or data.groupIcon)
|
||||
if success then
|
||||
if frame.defaultIcon then
|
||||
frame.defaultIcon:Hide()
|
||||
|
||||
Reference in New Issue
Block a user