I've just added them so they will be compatible in the future with other addons playing around with these functions. But as I replace them with mine they shouldn't be necessary I guess, you are right
Originally Posted by circonian
EDIT: My bad I thought i tested this earlier.....SelectGuildBank(..) does apparently automatically change the guild bank. I just tried it again & it does.
Also I don't think you need these. They return nil, so I don't think they have those handlers by default, so I don't think theres anything to restore later.
Lua Code:
origVars.GuildBankSelectorOnKeyUp = GUILDBANK_SELECT_POPUP:GetHandler("OnKeyUp") origVars.GuildBankSelectorOnMouseWheelG = GUILDBANK_SELECT_POPUP_GUILD:GetHandler("OnMouseWheel")
|