Mercurial > wow > skeletonkey
diff SkeletonKey/SkeletonKey.lua @ 65:556e075983a6
check for valid spell name when updating talent data
author | Nenue |
---|---|
date | Sat, 10 Sep 2016 19:08:19 -0400 |
parents | d8bb2629fea8 |
children |
line wrap: on
line diff
--- a/SkeletonKey/SkeletonKey.lua Fri Sep 09 11:40:53 2016 -0400 +++ b/SkeletonKey/SkeletonKey.lua Sat Sep 10 19:08:19 2016 -0400 @@ -156,11 +156,14 @@ if db.showUI then db.showUI = false - kb:print('|cFFFFFF00KeyBinds|r trace, |cFFFF0000OFF|r.') kb:Hide() else db.showUI = true - kb:print('|cFFFFFF00KeyBinds|r trace, |cFF00FF00ON|r.') + if not InCombatLockdown() then + kb:print(L('Config frame opened.')) + else + kb:print(L('Config frame will open upon exiting combat.')) + end end kb.ui(true) end @@ -274,6 +277,11 @@ kb.ConfirmBindings = function() kb.ApplyAllBindings() kb.ui() + if #kb.pendingAttributes == 0 then + kb:print(L("Manual bindings update finished.")) + else + kb:print(L("Manual update will complete upon exiting combat.")) + end end --- post ADDON_LOADED