From 6f1140a0490327ec6bdcd20a408b5df76abefe61 Mon Sep 17 00:00:00 2001 From: John Pasula Date: Tue, 25 Jan 2011 11:03:06 -0700 Subject: [PATCH] Fix a bug with the have materials and have skill up check boxes. --- core.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core.lua b/core.lua index babf777..bed70ed 100644 --- a/core.lua +++ b/core.lua @@ -1642,6 +1642,7 @@ do -- Save the state of the "Have Materials" checkbox. local have_materials = TradeSkillFrame.filterTbl.hasMaterials + -- Save the state of the "Have Skillup" checkbox. local have_skillup = TradeSkillFrame.filterTbl.hasSkillUp if MRTAPI and MRTAPI:PushFilterSelection() then @@ -1651,7 +1652,7 @@ do TradeSkillFrame.filterTbl.hasMaterials = false TradeSkillOnlyShowMakeable(false) end - if not Skillet and have_materials then + if not Skillet and have_skillup then TradeSkillFrame.filterTbl.hasSkillUp = false TradeSkillOnlyShowSkillUps(false) end -- 1.7.9.5