tbc loop change part 3

This commit is contained in:
Manuel Simon Hirsig
2017-06-02 19:51:28 +02:00
parent d4b089d508
commit 4c5a7f2a75
9 changed files with 39 additions and 40 deletions
+1 -1
View File
@@ -255,7 +255,7 @@ do
do (self._on_select or nop)(id) end
end
function mt.__index:update()
for _, tab in self._tabs do
for _, tab in pairs(self._tabs) do
if tab.group._selected == tab.id then
tab.text:SetTextColor(color.label.enabled())
tab:Disable()