From 56432188e6f2bc94072f24df8987dbd1fd14966b Mon Sep 17 00:00:00 2001 From: John Pasula Date: Tue, 25 Jan 2011 11:45:44 -0700 Subject: [PATCH] Start framework for saving the state of slot/class filters. --- core.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core.lua b/core.lua index 44088e4..98bcf6f 100644 --- a/core.lua +++ b/core.lua @@ -1645,6 +1645,10 @@ do local have_materials = TradeSkillFrame.filterTbl.hasMaterials -- Save the state of the "Have Skillup" checkbox. local have_skillup = TradeSkillFrame.filterTbl.hasSkillUp + -- Save the state of the subClassValue + local subclass = TradeSkillFrame.filterTbl.subClassValue + -- Save the state of the slotValue + local slot = TradeSkillFrame.filterTbl.slotValue if MRTAPI and MRTAPI:PushFilterSelection() then -- MrTrader saved the state for us @@ -1661,7 +1665,7 @@ do end --UIDropDownMenu_Initialize(TradeSkillFilterDropDown, TradeSkillInvSlotDropDown_Initialize) --UIDropDownMenu_SetSelectedID(TradeSkillFilterDropDown, 1) - --SetTradeSkillInvSlotFilter(0, 1, 1) + SetTradeSkillInvSlotFilter(0, 1, 1) TradeSkillUpdateFilterBar() TradeSkillFrame_Update() -- 1.7.9.5