option tweaks

This commit is contained in:
Hendrik Leppkes
2008-02-17 01:37:33 +00:00
parent 59df1ce268
commit c0cdde8e45
3 changed files with 6 additions and 0 deletions
+1
View File
@@ -48,6 +48,7 @@ end
function Bartender4:CombatLockdown()
self:Lock()
LibStub("AceConfigDialog-3.0"):Close("Bartender4")
end
function Bartender4:ToggleLock()
+1
View File
@@ -148,6 +148,7 @@ function Bartender4:SetupOptions()
LibStub("AceConfig-3.0"):RegisterOptionsTable("Bartender4", self.options, "bttest")
local optFunc = function()
if InCombatLockdown() then return end
AceConfigDialog:Open("Bartender4")
--[[
local status = AceConfigDialog:GetStatusTable("Bartender4")
+4
View File
@@ -53,6 +53,10 @@ function StanceBarMod:SetupOptions()
ActionBars.options.args["stance"].args = self.options.table
end
function StanceBarMod:ApplyConfig()
self.bar:ApplyConfig(self.db.profile)
end
function StanceButtonPrototype:Update()
if not self:IsShown() then return end
local id = self:GetID()