So I don't understand how this works:
Code:
local fn = function() self:UpdateFilterLabel() end
filterBar:SetHandler("OnValueChanged", fn)
local fn_out = filterBar:GetHandler("OnValueChanged")
assert(fn_out ~= nil)
assert(fn == fn_out)
Both assert will trigger. I.E fn_out is nil. But I just set it!!! Does SetHandler only take certain well know strings that are defined per control?