Quantcast

Creating FilterPanel.value_map as an empty table and then creating it again as a populated table is just silly. Fixed.

James D. Callahan III [03-05-11 - 10:45]
Creating FilterPanel.value_map as an empty table and then creating it again as a populated table is just silly. Fixed.
Filename
Interface/FilterMenus.lua
diff --git a/Interface/FilterMenus.lua b/Interface/FilterMenus.lua
index c35e055..0d46144 100644
--- a/Interface/FilterMenus.lua
+++ b/Interface/FilterMenus.lua
@@ -344,8 +344,6 @@ function private.InitializeFilterPanel()

 	FilterPanel:SetScript("OnShow", UpdateFilterMarks)

-	FilterPanel.value_map = {}
-
 	function FilterPanel:CreateSubMenu(name)
 		local submenu = CreateFrame("Frame", nil, self)