fix issue with hiding bars on disable

This commit is contained in:
Hendrik Leppkes
2008-07-04 16:57:19 +00:00
parent caa897af46
commit b5fcb19415
6 changed files with 23 additions and 18 deletions
+1 -2
View File
@@ -222,8 +222,7 @@ function BT4ActionBars:DisableBar(id)
if not bar then return end
bar.config.enabled = false
bar.disabled = true
bar:Hide()
bar:Disable()
self:CreateBarOption(id, self.disabledoptions)
end