diff BindingsFrame.lua @ 80:b9a53385462c

- Fixed Demon Hunter Vengeance bindings, along with other spells that are replaced by specialization variants. - Spells replaced by a specialization now display the replacing name along with the original name in their binding slot.
author Nick@Zahhak
date Tue, 21 Mar 2017 02:23:23 -0400
parents d4c100b0fd01
children
line wrap: on
line diff
--- a/BindingsFrame.lua	Thu Jan 26 20:27:06 2017 -0500
+++ b/BindingsFrame.lua	Tue Mar 21 02:23:23 2017 -0400
@@ -508,7 +508,7 @@
 
 --- Associate processed input with the given slot's metadata
 function skb:SaveSlot (key)
-
+  print('SaveSlot()', key)
   if not self.command then
     return
   end
@@ -564,6 +564,7 @@
     SetBinding(binding, self.command)
     SaveBindings(GetCurrentBindingSet())
     self.assignedKeys = {GetBindingKey(self.command) }
+    print('  new assigns:', unpack(self.assignedKeys))
     kb.UpdateBindingsCache(self.actionType, self.actionID, self.assignedKeys)
     kb:print(L('BINDING_ASSIGNED', binding, self.actionName, kb.currentHeader))
   else