Quantcast

This should make currency that was just unhidden appear in tooltip without reloading

Darthpred [09-16-16 - 15:51]
This should make currency that was just unhidden appear in tooltip without reloading
Filename
ElvUI_SLE/modules/sledatatexts/currency.lua
diff --git a/ElvUI_SLE/modules/sledatatexts/currency.lua b/ElvUI_SLE/modules/sledatatexts/currency.lua
index 7f574eb..4a60b04 100644
--- a/ElvUI_SLE/modules/sledatatexts/currency.lua
+++ b/ElvUI_SLE/modules/sledatatexts/currency.lua
@@ -116,7 +116,8 @@ end
 local HiddenCurrency = {}

 local function UnusedCheck()
-	if GetOption('Unused') then HiddenCurrency = {}; return end
+	-- if GetOption('Unused') then HiddenCurrency = {}; return end
+	T.twipe(HiddenCurrency)
 	for i = 1, T.GetCurrencyListSize() do
 		local name, _, _, isUnused = GetCurrencyListInfo(i)
 		if isUnused then