- fixed late registration of textures via LibSharedMedia so that the ToT bar texture gets updated appropriately

This commit is contained in:
Parnic
2010-10-26 00:36:27 +00:00
parent 18f1e4ff37
commit 5fdc288c5d

View File

@ -1260,7 +1260,7 @@ function IceHUD:UpdateMedia(event, mediatype, key)
IceHUD.IceCore:SetFontFamily(key)
end
elseif mediatype == "statusbar" then
if self.TargetOfTarget and self.TargetOfTarget.enabled and key == self.TargetOfTarget.moduleSettings.texture then
if self.TargetOfTarget and self.TargetOfTarget.moduleSettings.enabled and key == self.TargetOfTarget.moduleSettings.texture then
self.TargetOfTarget:Redraw()
end
end