Added a button to the Config GUI to open the Key Binding Mode

This commit is contained in:
Hendrik Leppkes
2008-09-28 18:01:10 +02:00
parent e35f488d55
commit 5c60ec29f2
10 changed files with 29 additions and 0 deletions
+11
View File
@@ -15,6 +15,7 @@ do
end
end
local KB = LibStub("LibKeyBound-1.0")
local function getOptions()
if not Bartender4.options then
Bartender4.options = {
@@ -40,6 +41,16 @@ local function getOptions()
get = getFunc,
set = setFunc,
},
kb = {
order = 3,
type = "execute",
name = L["Key Bindings"],
desc = L["Switch to key-binding mode"],
func = function()
KB:Toggle()
AceConfigDialog:Close("Bartender4")
end,
},
bars = {
order = 20,
type = "group",