From 8190c6c547e72e03ab0ffbe65edb9034c0cea842 Mon Sep 17 00:00:00 2001 From: ckaotik Date: Wed, 22 Dec 2010 12:29:27 +0100 Subject: [PATCH] Fixed auto repair setting not being saved properly --- .pkgmeta.txt | 5 +++-- Broker_Garbage-Config/options_main.lua | 2 +- Broker_Garbage/constants.lua | 4 +--- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.pkgmeta.txt b/.pkgmeta.txt index 721ead7..9e079f4 100644 --- a/.pkgmeta.txt +++ b/.pkgmeta.txt @@ -1,8 +1,9 @@ package-as: Broker_Garbage move-folders: - Broker_Garbage/Broker_Garbage-Config: Broker_Garbage-Config - Broker_Garbage/Broker_Garbage-LootManager: Broker_Garbage-LootManager + - Broker_Garbage/Broker_Garbage: Broker_Garbage + - Broker_Garbage/Broker_Garbage-Config: Broker_Garbage-Config + - Broker_Garbage/Broker_Garbage-LootManager: Broker_Garbage-LootManager optional-dependencies: - libperiodictable-3-1 diff --git a/Broker_Garbage-Config/options_main.lua b/Broker_Garbage-Config/options_main.lua index f1bbac6..bdc74e3 100644 --- a/Broker_Garbage-Config/options_main.lua +++ b/Broker_Garbage-Config/options_main.lua @@ -31,7 +31,7 @@ local function Options_BasicOptions(pluginID) local checksound = repair:GetScript("OnClick") repair:SetScript("OnClick", function(repair) checksound(repair) - Broker_Garbage:ToggleOption("autoRepairGuildTitle", true) + Broker_Garbage:ToggleOption("autoRepairAtVendor", true) end) local guildrepair = BGC.CreateCheckBox(behavior, nil, BGC.locale.autoRepairGuildTitle, "TOPLEFT", repair, "BOTTOMLEFT", 14, 4) diff --git a/Broker_Garbage/constants.lua b/Broker_Garbage/constants.lua index 155dcbb..8ebeb7d 100644 --- a/Broker_Garbage/constants.lua +++ b/Broker_Garbage/constants.lua @@ -2,9 +2,7 @@ local _, BG = ... -- default saved variables BG.defaultGlobalSettings = { - -- lists: key/value tables with - -- key - either an itemID -or- a LibPeriodicTable category string - -- value - true -or- int:limit + -- lists exclude = {}, -- Keep List include = {}, -- Junk List autoSellList = {}, -- Sell List -- 1.7.9.5