Quantcast

Fix a bug that was causing edited macros to lose their binding

James Whitehead II [10-21-10 - 15:33]
Fix a bug that was causing edited macros to lose their binding
Filename
BindConfig.lua
diff --git a/BindConfig.lua b/BindConfig.lua
index 48f9da8..4c4cb68 100755
--- a/BindConfig.lua
+++ b/BindConfig.lua
@@ -512,6 +512,7 @@ function CliqueConfig:Row_OnClick(frame, button)
                 local bindText = addon:GetBindingKeyComboText(binding)
                 self.page2.bindText:SetText(bindText)
                 self.page2.binding = binding
+                self.page2.key = binding.key
                 self.page2.editbox:SetText(binding.macrotext)
                 self.page2.button_save:Enable()
                 self.page1:Hide()