From fe9bec992fea4a6ac180119449df930ab30ca1a5 Mon Sep 17 00:00:00 2001 From: Kevin Lyles Date: Thu, 29 Jul 2010 02:04:46 -0500 Subject: [PATCH] Fixed a bug where a non-existant active weight would prevent class collapsing --- weights.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weights.lua b/weights.lua index f6ab71b..a5bc30c 100644 --- a/weights.lua +++ b/weights.lua @@ -423,8 +423,8 @@ local function loadClassButtons() if weightFrame.name then if ww_charVars.activeWeights[classFrame.class] then for _, weight in ipairs(ww_charVars.activeWeights[classFrame.class]) do - used = true if weight == weightFrame.name then + used = true weightFrame.checkButton:SetChecked(true) break end -- 1.7.9.5