Opening an addon settings panel?
Hello,
To open the settings panel of my addon, I use: Lua Code:
Furthermore, if I have several addons, each settings panel is not always refreshed ("open" event is not always sent). Is there a new way to open an addon settings panel? |
try instead:
Code:
InterfaceOptionsFrame:Show() |
Code:
InterfaceOptionsFrame:Show() Code:
InterfaceOptionsFrame_OpenToCategory("YourAddonName") |
You could try this .. Dragonflight includes a fair amount of UI changes
https://wowpedia.fandom.com/wiki/Pat....0/API_changes There has been some issues however where the settings panel will trigger errors. Whether it is the fault of the code in the addon or the changes in the blizzard code is hard to say. |
Quote:
|
thanks, I was looking for that second one .. but guess I forgot how to get to that page rofl
|
I was just lucky that changing the last 0 to a 2 got me there ;)
|
Quote:
|
Quote:
Code:
CreateFrame("Frame", "OptionsPanel") |
Code:
CreateFrame("Frame", "OptionsPanel") It doesn't work better than my original script but we'll see on next PTR versions. |
All times are GMT -6. The time now is 10:13 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI