Mercurial > wow > reaction
changeset 266:8fde9da21652
Fix for ticket #9: un-check action buttons when tradeskills close
author | Flick |
---|---|
date | Tue, 10 May 2011 10:30:54 -0700 |
parents | b40e2aaccfa0 |
children | fc79c85ab7a5 |
files | ActionButton.lua |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ActionButton.lua Tue May 10 09:55:47 2011 -0700 +++ b/ActionButton.lua Tue May 10 10:30:54 2011 -0700 @@ -158,6 +158,7 @@ "PLAYER_TARGET_CHANGED", "TRADE_SKILL_SHOW", "TRADE_SKILL_CLOSE", + "ARCHAEOLOGY_CLOSED", "PLAYER_ENTER_COMBAT", "PLAYER_LEAVE_COMBAT", "START_AUTOREPEAT_SPELL", @@ -746,7 +747,8 @@ function Action:TRADE_SKILL_SHOW() self:UpdateCheckedState() end -Action.TRADE_SKILL_CLOSE = Action.TRADE_SKILL_CLOSE +Action.TRADE_SKILL_CLOSE = Action.TRADE_SKILL_SHOW +Action.ARCHAEOLOGY_CLOSED = Action.TRADE_SKILL_SHOW function Action:UNIT_ENTERED_VEHICLE(event,unit) if unit == "player" then