# HG changeset patch # User madcatzinc@35b17cf1-18cd-47ff-9ca3-31d6b526ef09 # Date 1366853451 0 # Node ID 92b62e33887b592664cd7712e0b366f43099affe # Parent b7074b47cfc78d81dfc9ae8820c61f891fa4dccb Fixed a function name. diff -r b7074b47cfc7 -r 92b62e33887b OptionPage.xml --- 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 @@ if event == "VARIABLES_LOADED" then - CyborgMMO_GetBindingButtonText(self:GetName()) + CyborgMMO_SetBindingButtonText(self:GetName()) end diff -r b7074b47cfc7 -r 92b62e33887b OptionView.lua --- 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