diff --git a/core.lua b/core.lua index 582b21b..c0863b0 100644 --- a/core.lua +++ b/core.lua @@ -113,6 +113,7 @@ child['specs'] = { [childName] = { ["autorepair"] = true, ["listall"] = true, + ["showlowest"] = true, } } } diff --git a/prefs.lua b/prefs.lua index e93ae88..28f1e0f 100644 --- a/prefs.lua +++ b/prefs.lua @@ -2,6 +2,9 @@ local addonName, addon = ... local childName = addon['childName'] local child = addon[childName] local L = LibStub("AceLocale-3.0"):GetLocale(childName, true) +function child:PrefChanged() + child.events.UPDATE_INVENTORY_DURABILITY() +end local init = { Setup = function(self) local config = LibStub:GetLibrary("zzConfig")