updates
This commit is contained in:
@@ -1608,14 +1608,18 @@ function _detalhes:RestauraJanela(index, temp, load_only)
|
||||
else
|
||||
self.mostrando = "normal"
|
||||
end
|
||||
|
||||
|
||||
--fix for the weird white window default skin
|
||||
--this is a auto detect for configuration corruption, happens usually when the user install Details! over old config settings
|
||||
--check if the skin used in the window is the default skin, check if statusbar is in use and if the color of the window is full white
|
||||
if (self.skin == _detalhes.default_skin_to_use and self.show_statusbar) then
|
||||
if(self.color[1] == 1 and self.color[2] == 1 and self.color[3] == 1 and self.color[4] == 1) then
|
||||
print ("|cFFFF2222Details!: Corrupted skin detected! Resetting window skin to default.")
|
||||
Details:Msg("error 0xFF85DD")
|
||||
self.skin = "no skin"
|
||||
self:ChangeSkin(_detalhes.default_skin_to_use)
|
||||
end
|
||||
end
|
||||
|
||||
--> internal stuff
|
||||
self.oldwith = self.baseframe:GetWidth()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user