# HG changeset patch # User Flick # Date 1300997384 25200 # Node ID dcdc0235d489ab43acd36733fc7bb3e9f5c6556e # Parent 1663c78a7f313a1983d054a3929d7cf21cfdeaf4 Really don't remove buttons if the current character doesn't support the spell diff -r 1663c78a7f31 -r dcdc0235d489 classes/Button.lua --- a/classes/Button.lua Thu Mar 24 12:58:27 2011 -0700 +++ b/classes/Button.lua Thu Mar 24 13:09:44 2011 -0700 @@ -183,8 +183,9 @@ hint = b:GetActionID() else n = i - 1 - bar:ClipNButtons(n) if not success then + bar:ClipNButtons(n) + cfgN = n geterrorhandler()(r) end end