From 0494d4e222f618e64688c8ba3d156c070867fcbc Mon Sep 17 00:00:00 2001 From: ackis Date: Thu, 19 Mar 2009 21:40:21 +0000 Subject: [PATCH] Make /arl open up the main options instead of the about page. --- AckisRecipeList.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AckisRecipeList.lua b/AckisRecipeList.lua index a04551f..5c3be86 100644 --- a/AckisRecipeList.lua +++ b/AckisRecipeList.lua @@ -1334,14 +1334,14 @@ end function addon:ChatCommand(input) -- Open About panel if there's no parameters or if we do /arl about - if (not input) or (input and input:trim() == "") or (input == tolower(L["About"]))then + if (not input) or (input and input:trim() == "") or (input == tolower(L["Sorting"])) or (input == tolower(L["Sort"])) or (input == tolower(L["Display"])) then + InterfaceOptionsFrame_OpenToCategory(self.optionsFrame) + elseif (input == tolower(L["About"])) then if (self.optionsFrame["About"]) then InterfaceOptionsFrame_OpenToCategory(self.optionsFrame["About"]) else InterfaceOptionsFrame_OpenToCategory(self.optionsFrame) end - elseif (input == tolower(L["Sorting"])) or (input == tolower(L["Sort"])) or (input == tolower(L["Display"])) then - InterfaceOptionsFrame_OpenToCategory(self.optionsFrame) elseif (input == tolower(L["Profile"])) then InterfaceOptionsFrame_OpenToCategory(self.optionsFrame["Profiles"]) elseif (input == tolower(L["Filter"])) then -- 1.7.9.5