Mercurial > wow > reaction
comparison modules/ReAction_HideBlizzard/ReAction_HideBlizzard.lua @ 40:2d1f35b1a873
Only remap action bar interface options if enabled, silly
| author | Flick <flickerstreak@gmail.com> |
|---|---|
| date | Thu, 03 Apr 2008 21:19:45 +0000 |
| parents | 00f08528faaf |
| children | 093557364426 |
comparison
equal
deleted
inserted
replaced
| 39:e0d8074a5bc7 | 40:2d1f35b1a873 |
|---|---|
| 47 }) | 47 }) |
| 48 | 48 |
| 49 -- reroute blizzard action bar config to ReAction config window | 49 -- reroute blizzard action bar config to ReAction config window |
| 50 InterfaceOptionsActionBarsPanel:HookScript("OnShow", | 50 InterfaceOptionsActionBarsPanel:HookScript("OnShow", |
| 51 function() | 51 function() |
| 52 if module:IsHidden() then | 52 if module:IsEnabled and module:IsHidden() then |
| 53 ReAction:ShowConfig() | 53 ReAction:ShowConfig() |
| 54 end | 54 end |
| 55 end ) | 55 end ) |
| 56 end | 56 end |
| 57 | 57 |
