diff SkeletonKey/KeyButton.lua @ 50:1aba8a6fd4a9

- fix kb.bindings content and define a generic function for constructing its keystrings - handle hotkey text for actions placed in multiple slots -- hotkey.actionbar generates a cache table for use during binding changes
author Nenue
date Fri, 19 Aug 2016 01:12:56 -0400
parents 9a9d7f2a7c07
children 81a7c71c4483
line wrap: on
line diff
--- a/SkeletonKey/KeyButton.lua	Thu Aug 18 01:34:22 2016 -0400
+++ b/SkeletonKey/KeyButton.lua	Fri Aug 19 01:12:56 2016 -0400
@@ -220,7 +220,8 @@
     if kb.currentProfile.talents[self.actionName] then
       kb.currentProfile.talents[self.actionName] = nil
     end
-    kb.bindings[self.actionType][self.actionID] = nil
+
+    kb.bindings[tostring(self.actionType)..'_'..tostring(self.actionID)] = nil
   end
   if kb.currentProfile.bound[self.command] then
     kb.currentProfile.bound[self.command] = nil