Quantcast

Added Ampere Addon Control Panel

Repooc [10-15-12 - 05:53]
Added Ampere Addon Control Panel
Filename
ElvUI_SLE/modules/uibuttons/uibuttons.lua
diff --git a/ElvUI_SLE/modules/uibuttons/uibuttons.lua b/ElvUI_SLE/modules/uibuttons/uibuttons.lua
index ef4b1ba..fbef9e5 100644
--- a/ElvUI_SLE/modules/uibuttons/uibuttons.lua
+++ b/ElvUI_SLE/modules/uibuttons/uibuttons.lua
@@ -116,6 +116,9 @@ function UB:CreateButtons()
 	if IsAddOnLoaded("ACP") then
 		Abutton:SetAttribute("type1", "macro")
 		Abutton:SetAttribute("macrotext1", "/acp")
+	elseif IsAddOnLoaded("Ampere") then
+		Abutton:SetAttribute("type1", "macro")
+		Abutton:SetAttribute("macrotext1", "/ampere")
 	else
 		Abutton:SetAttribute("type1", "macro")
 		Abutton:SetAttribute("macrotext1", "/stam")