- made custom (de)buff watcher bars respect the bForceHide option for :Show() so that they are properly hidden when a profile change occurs or they are manually disabled via the options menu

This commit is contained in:
Parnic
2011-04-26 02:41:48 +00:00
parent 095d6f2519
commit c178051c85
2 changed files with 8 additions and 9 deletions

View File

@ -446,7 +446,7 @@ function IceCore.prototype:Disable(userToggle)
self:ConfigModeToggle(false)
for i = 1, table.getn(self.elements) do
for i=1, #self.elements do
if (self.elements[i]:IsEnabled()) then
self.elements[i]:Disable(true)
end