Mercurial > wow > cyborg-mmo7
changeset 26:92b62e33887b
Fixed a function name.
author | madcatzinc@35b17cf1-18cd-47ff-9ca3-31d6b526ef09 |
---|---|
date | Thu, 25 Apr 2013 01:30:51 +0000 |
parents | b7074b47cfc7 |
children | fa41b4402270 |
files | OptionPage.xml OptionView.lua |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/OptionPage.xml Thu Apr 25 01:30:46 2013 +0000 +++ b/OptionPage.xml Thu Apr 25 01:30:51 2013 +0000 @@ -56,7 +56,7 @@ </OnLoad> <OnEvent> if event == "VARIABLES_LOADED" then - CyborgMMO_GetBindingButtonText(self:GetName()) + CyborgMMO_SetBindingButtonText(self:GetName()) end </OnEvent> <OnClick>
--- a/OptionView.lua Thu Apr 25 01:30:46 2013 +0000 +++ b/OptionView.lua Thu Apr 25 01:30:51 2013 +0000 @@ -43,7 +43,7 @@ CyborgMMO_BindingFrame:Show() end -function CyborgMMO_GetBindingButtonText(name) +function CyborgMMO_SetBindingButtonText(name) if not CyborgMMO_WowCommands then CyborgMMO_LoadWowCommands() end @@ -85,7 +85,7 @@ function CyborgMMO_SetNewKeybind(keyOrButton) local previous = CyborgMMO_WowCommands[CyborgMMO_GetButtonIndex(lastButton)] CyborgMMO_WowCommands[CyborgMMO_GetButtonIndex(lastButton)] = keyOrButton - CyborgMMO_GetBindingButtonText(lastButton) + CyborgMMO_SetBindingButtonText(lastButton) CyborgMMO_BindingFrame:Hide() CyborgMMO_RatPageModel:LoadData() end