Quantcast

Fix a display issue for binding entries

James Whitehead II [11-27-09 - 10:46]
Fix a display issue for binding entries
Filename
CliqueOptions.lua
diff --git a/CliqueOptions.lua b/CliqueOptions.lua
index f86e827..d9ce488 100644
--- a/CliqueOptions.lua
+++ b/CliqueOptions.lua
@@ -1100,7 +1100,7 @@ function Clique:FillListEntry(frame, idx)
 	end

     local type = string.format("%s%s", string.upper(string.sub(entry.type, 1, 1)), string.sub(entry.type, 2))
-	local button = tonumber(entry.button)
+	local button = entry.button

     frame.icon:SetTexture(entry.texture or "Interface\\Icons\\INV_Misc_QuestionMark")
 	frame.binding:SetText(entry.modifier..self:GetButtonText(button))