restructure configuration

This commit is contained in:
Hendrik Leppkes
2008-03-13 16:42:26 +00:00
parent 17f6d471f1
commit f472060b0a
8 changed files with 111 additions and 106 deletions
+2 -2
View File
@@ -325,8 +325,8 @@ function Button:UpdateUsable(force)
local icon, hotkey = self.icon, self.hotkey
if force or not oor then
icon.state, hotkey.state = 1, 1
oor = self.settings.profile.outofrange
oorcolor, oomcolor = self.settings.profile.colors.range, self.settings.profile.colors.mana
oor = Bartender4.db.profile.outofrange
oorcolor, oomcolor = Bartender4.db.profile.colors.range, Bartender4.db.profile.colors.mana
end
if oor == "button" and self.outOfRange then