From 7307ebb74491e346947781a440e72ff6aababf16 Mon Sep 17 00:00:00 2001 From: "Erik L. Vonderscheer" Date: Sat, 15 Aug 2009 06:46:52 +0000 Subject: [PATCH] Fix LDB Repeat display not resetting when count is reset through config GUI --- TradeFilter3.lua | 2 +- TradeFilter3Options.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TradeFilter3.lua b/TradeFilter3.lua index bd8873a..ef41685 100644 --- a/TradeFilter3.lua +++ b/TradeFilter3.lua @@ -35,7 +35,7 @@ File Date: @file-date-iso@ TradeFilter3 = LibStub("AceAddon-3.0"):NewAddon("TradeFilter3", "AceConsole-3.0", "AceEvent-3.0", "AceTimer-3.0") local L = LibStub("AceLocale-3.0"):GetLocale("TradeFilter3", true) local friends = LibStub("LibFriends-1.0") -local LDB = LibStub("LibDataBroker-1.1") +local LDB = LibStub("LibDataBroker-1.1", true) local TF3 = TradeFilter3 local MAJOR_VERSION = "3.1" diff --git a/TradeFilter3Options.lua b/TradeFilter3Options.lua index 3895e3a..4235bfc 100644 --- a/TradeFilter3Options.lua +++ b/TradeFilter3Options.lua @@ -584,7 +584,7 @@ options = { desc = L["RPTRESETD"], func = function() TF3.db.profile.repeats_blocked = 0 - if (LDB) then + if (LibStub("LibDataBroker-1.1", true)) then TF3Frame.Blocked.text = TF3.db.profile.repeats_blocked .. "Repeats Blocked" TF3Frame.Blocked.value = TF3.db.profile.repeats_blocked end -- 1.7.9.5