Quantcast

* Fix the opening of the options menu

James Whitehead II [12-11-08 - 17:22]
* Fix the opening of the options menu
Filename
DressToKill.lua
diff --git a/DressToKill.lua b/DressToKill.lua
index ddb7ed9..067c872 100644
--- a/DressToKill.lua
+++ b/DressToKill.lua
@@ -398,12 +398,12 @@ SLASH_DRESSTOKILL3 = "/dresstokill"
 SlashCmdList["DRESSTOKILL"] = function(msg, editbox)
 	DressToKill:Initialize()
 	if msg and msg:lower():match("%s*config%s*") then
-		InterfaceOptionsFrame_OpenToFrame(DressToKillOptionsFrame)
+		InterfaceOptionsFrame_OpenToCategory(DressToKillOptionsFrame)
 		return
 	end

 	if msg and msg:lower():match("%s*debug%s*") then
-		InterfaceOptionsFrame_OpenToFrame(DressToKillDebugFrame)
+		InterfaceOptionsFrame_OpenToCategory(DressToKillDebugFrame)
 		return
 	end