View Single Post
03-19-20, 09:13 AM   #8
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,871
You need to change both instances of the tab frame name in the call.

Code:
CommunitiesFrame.RosterTab:GetScript("OnClick")(CommunitiesFrame.RosterTab)
Otherwise you're calling the roster tab but passing in the info tab which then becomes "self" for the OnClick script.

Seerah's method would be better but I don't have time to rumage through the code.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 03-19-20 at 09:18 AM.
  Reply With Quote