From a432ef545b420d6a75164e956579799410f80029 Mon Sep 17 00:00:00 2001 From: Jim-Bim Date: Wed, 3 Dec 2008 22:57:19 +0000 Subject: [PATCH] AckisRecipeList: - moved apply button disabling to correct location (doesn't disable anymore before applying filters) --- ARLFrame.lua | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/ARLFrame.lua b/ARLFrame.lua index 7cbeb6f..52153eb 100644 --- a/ARLFrame.lua +++ b/ARLFrame.lua @@ -1003,11 +1003,6 @@ local function RecipeList_Update() end end - - -- Make sure our apply button gets disabled - ApplyFilterState = nil - ARL_ApplyButton:SetNormalFontObject("GameFontDisableSmall") - ARL_ApplyButton:Disable() end @@ -1076,6 +1071,11 @@ local function ReDisplay() -- And update our scrollframe RecipeList_Update() + + -- Make sure our apply button gets disabled + ApplyFilterState = nil + ARL_ApplyButton:SetNormalFontObject("GameFontDisableSmall") + ARL_ApplyButton:Disable() end @@ -1984,6 +1984,7 @@ function addon.SwitchProfs() currentProfession = playerData.playerProfession ReDisplay() addon.resetTitle() + end -- Description: @@ -4266,6 +4267,11 @@ function addon:CreateFrame( -- And update our scrollframe RecipeList_Update() addon.Frame:Show() + + -- Make sure our apply button gets disabled + ApplyFilterState = nil + ARL_ApplyButton:SetNormalFontObject("GameFontDisableSmall") + ARL_ApplyButton:Disable() end -- 1.7.9.5