Log:
GridLayoutPlus:
- Fixed a small bug where if the last Blizzard tank was removed, it wouldn't actually remove it until some other change initiated a layout update.
Modified:
trunk/GridLayoutPlus/GridLayoutPlus.lua
Modified: trunk/GridLayoutPlus/GridLayoutPlus.lua
==============================================================================
--- trunk/GridLayoutPlus/GridLayoutPlus.lua (original)
+++ trunk/GridLayoutPlus/GridLayoutPlus.lua Sun Feb 10 11:18:55 2008
@@ -255,7 +255,7 @@
self:RegisterEvent("oRA_MainTankUpdate", "RATanksUpdate")
self:RegisterEvent("oRA_JoinedRaid", "RATanksUpdate")
elseif CT_RA_MainTanks then
- hooksecurefunc("CT_RAOptions_UpdateMTs", function() self:RATankUpdate() end)
+ hooksecurefunc("CT_RAOptions_UpdateMTs", function() self:RATanksUpdate() end)
end
self:RegisterEvent("GridLayoutPlus_UpdateLayout", "UpdateLayout")
self:ScheduleRepeatingEvent("GridLayoutPlus_UpdateLayout", 5)
@@ -305,7 +305,7 @@
if u and (u.class ~= "PET") then
if (GridLayoutPlus.db.profile.layoutSorting == "By Group") and (u.subgroup > playerColumns) then
self:RosterUpdate()
- elseif GridLayoutPlus.db.profile.withTanks and (tankType ~= "RA") and ((u.role == "MAINTANK") or (u.role == "MAINASSIST")) then
+ elseif GridLayoutPlus.db.profile.withTanks and (((tankType ~= "RA") and ((u.role == "MAINTANK") or (u.role == "MAINASSIST"))) or ((tankType == "Blizz") and (u.role ~= "MAINTANK") and (u.role ~= "MAINASSIST"))) then
self:RosterUpdate()
end
end