Use the correct ApplyConfig when enabling a module

This commit is contained in:
Hendrik Leppkes
2008-11-11 16:32:16 +01:00
parent 4189110e24
commit 7c2610ccb2
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ function BagBarMod:OnEnable()
end
self.bar:Enable()
self:ToggleOptions()
self.bar:ApplyConfig(self.db.profile)
self:ApplyConfig()
end
function BagBarMod:ApplyConfig()
+1 -1
View File
@@ -55,7 +55,7 @@ function MicroMenuMod:OnEnable()
end
self.bar:Enable()
self:ToggleOptions()
self.bar:ApplyConfig(self.db.profile)
self:ApplyConfig()
end
function MicroMenuMod:ApplyConfig()
+2 -2
View File
@@ -33,7 +33,7 @@ function RepBarMod:OnEnable()
end
self.bar:Enable()
self:ToggleOptions()
self.bar:ApplyConfig(self.db.profile)
self:ApplyConfig()
end
function RepBarMod:ApplyConfig()
@@ -80,7 +80,7 @@ function XPBarMod:OnEnable()
end
self.bar:Enable()
self:ToggleOptions()
self.bar:ApplyConfig(self.db.profile)
self:ApplyConfig()
end
XPBarMod.ApplyConfig = RepBarMod.ApplyConfig
+1 -1
View File
@@ -43,7 +43,7 @@ function StanceBarMod:OnEnable()
self.bar:RegisterEvent("ACTIONBAR_PAGE_CHANGED")
self:RegisterEvent("UPDATE_BINDINGS", "ReassignBindings")
self:ReassignBindings()
self.bar:ApplyConfig(self.db.profile)
self:ApplyConfig()
end
StanceBarMod.button_count = 10