From 4334debba632cc361a8ffa3db55d206106956899 Mon Sep 17 00:00:00 2001 From: Ackis Date: Tue, 25 Nov 2008 21:20:59 +0000 Subject: [PATCH] Fix for clicking on empty line --- ARLFrame.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ARLFrame.lua b/ARLFrame.lua index c4ed730..7590979 100644 --- a/ARLFrame.lua +++ b/ARLFrame.lua @@ -2400,7 +2400,7 @@ function addon.RecipeItem_OnClick(button) addon:Print(button) -- Don't do anything if they've clicked on an empty button - if (clickedIndex ~= nil) then + if (clickedIndex ~= nil) or (clickedIndex ~= 0) then local isRecipe = DisplayStrings[clickedIndex].IsRecipe local isExpanded = DisplayStrings[clickedIndex].IsExpanded -- 1.7.9.5