Added a button to the Config GUI to open the Key Binding Mode
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user