Quantcast

Bug fix. This should fix the issue with Aurora. That addon is evil by the way.

Scott Sibley [06-18-11 - 22:19]
Bug fix. This should fix the issue with Aurora. That addon is evil by the way.
Filename
Modules/Appearance/Appearance.lua
diff --git a/Modules/Appearance/Appearance.lua b/Modules/Appearance/Appearance.lua
index fa2a432..5aaec13 100644
--- a/Modules/Appearance/Appearance.lua
+++ b/Modules/Appearance/Appearance.lua
@@ -490,7 +490,7 @@ function mod:SetBackdrop()
 		local bgFile = LSM:Fetch('background', self.db.profile.background)
 		local edgeFile = LSM:Fetch('border', self.db.profile.edgeFile)

-		if bd.bgFile ~= bgFile or bd.edgeFile ~= edgeFile or bd.edgeSize ~= self.db.profile.edgeSize or bd.insets.left ~= self.db.profile.padding then
+		if bd and (bd.bgFile ~= bgFile or bd.edgeFile ~= edgeFile or bd.edgeSize ~= self.db.profile.edgeSize or bd.insets.left ~= self.db.profile.padding) then
 			changed = true
 		end