Mercurial > wow > skeletonkey
comparison KeyButton.lua @ 78:d4c100b0fd01 v7.1.5-80-release
- Fixed an issue with talent bindings not loading between specialization changes.
- Fixed action button text corruption that occurred after changing assignments on an inactive spell.
author | Nenue |
---|---|
date | Thu, 26 Jan 2017 20:25:04 -0500 |
parents | 6623b7f2c1ca |
children | b9a53385462c |
comparison
equal
deleted
inserted
replaced
77:4ca4cc031e99 | 78:d4c100b0fd01 |
---|---|
241 popup.args = {slotInfo} | 241 popup.args = {slotInfo} |
242 SkeletonKey:SetScript('OnMouseWheel', nil) -- disable scrolling | 242 SkeletonKey:SetScript('OnMouseWheel', nil) -- disable scrolling |
243 StaticPopup_Show('SKELETONKEY_CONFIRM_ASSIGN_SLOT') | 243 StaticPopup_Show('SKELETONKEY_CONFIRM_ASSIGN_SLOT') |
244 else | 244 else |
245 kb.currentProfile.buttons[self:GetID()] = slotInfo | 245 kb.currentProfile.buttons[self:GetID()] = slotInfo |
246 if #slotInfo.assignedKeys >= 1 then | |
247 kb:print('Obtained following hotkeys:', table.concat(slotInfo.assignedKeys, ', ')) | |
248 | |
249 end | |
250 kb.LoadBinding(slotInfo) | 246 kb.LoadBinding(slotInfo) |
251 self:SetSlot(slotInfo) | 247 self:SetSlot(slotInfo) |
252 self:UpdateSlot() | 248 self:UpdateSlot() |
253 self.active = nil | 249 self.active = nil |
254 ClearCursor() | 250 ClearCursor() |