Quantcast

Dirty fix for the InterfaceOptionsFrame bug

Adrian L Lange [06-05-14 - 16:02]
Dirty fix for the InterfaceOptionsFrame bug
Filename
Config.lua
diff --git a/Config.lua b/Config.lua
index 7895374..10fe2cb 100644
--- a/Config.lua
+++ b/Config.lua
@@ -461,5 +461,7 @@ InterfaceOptions_AddCategory(FilterPanel)

 SLASH_Monomyth1 = '/monomyth'
 SlashCmdList[addonName] = function()
+	-- On first load IOF doesn't select the right category or panel, this is a dirty fix
+	InterfaceOptionsFrame_OpenToCategory(addonName)
 	InterfaceOptionsFrame_OpenToCategory(addonName)
 end