View Single Post
04-26-20, 11:11 AM   #4
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,313
Originally Posted by Vrul View Post
Code:
InterfaceOptionsFrame_OpenToCategory("Minguas Suite - Subcategory")
Unless the subcategory is actually named "Minguas Suite - Subcategory", it won't work. If it's named "Subcategory", then you have to refer to it as "Subcategory". This opens the possibility of name collisions since another addon may register that name as well. This is why you should pass the pointer to the panel itself instead.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 04-26-20 at 11:14 AM.
  Reply With Quote