Mercurial > wow > reaction
comparison ActionButton.lua @ 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 | 36a29870bf34 |
comparison
equal
deleted
inserted
replaced
| 265:b40e2aaccfa0 | 266:8fde9da21652 |
|---|---|
| 156 "LEARNED_SPELL_IN_TAB", | 156 "LEARNED_SPELL_IN_TAB", |
| 157 "UPDATE_INVENTORY_ALERTS", | 157 "UPDATE_INVENTORY_ALERTS", |
| 158 "PLAYER_TARGET_CHANGED", | 158 "PLAYER_TARGET_CHANGED", |
| 159 "TRADE_SKILL_SHOW", | 159 "TRADE_SKILL_SHOW", |
| 160 "TRADE_SKILL_CLOSE", | 160 "TRADE_SKILL_CLOSE", |
| 161 "ARCHAEOLOGY_CLOSED", | |
| 161 "PLAYER_ENTER_COMBAT", | 162 "PLAYER_ENTER_COMBAT", |
| 162 "PLAYER_LEAVE_COMBAT", | 163 "PLAYER_LEAVE_COMBAT", |
| 163 "START_AUTOREPEAT_SPELL", | 164 "START_AUTOREPEAT_SPELL", |
| 164 "STOP_AUTOREPEAT_SPELL", | 165 "STOP_AUTOREPEAT_SPELL", |
| 165 "UNIT_ENTERED_VEHICLE", | 166 "UNIT_ENTERED_VEHICLE", |
| 744 end | 745 end |
| 745 | 746 |
| 746 function Action:TRADE_SKILL_SHOW() | 747 function Action:TRADE_SKILL_SHOW() |
| 747 self:UpdateCheckedState() | 748 self:UpdateCheckedState() |
| 748 end | 749 end |
| 749 Action.TRADE_SKILL_CLOSE = Action.TRADE_SKILL_CLOSE | 750 Action.TRADE_SKILL_CLOSE = Action.TRADE_SKILL_SHOW |
| 751 Action.ARCHAEOLOGY_CLOSED = Action.TRADE_SKILL_SHOW | |
| 750 | 752 |
| 751 function Action:UNIT_ENTERED_VEHICLE(event,unit) | 753 function Action:UNIT_ENTERED_VEHICLE(event,unit) |
| 752 if unit == "player" then | 754 if unit == "player" then |
| 753 self:UpdateCheckedState() | 755 self:UpdateCheckedState() |
| 754 end | 756 end |
